Artifact 469ef987359b53e3c2501745784978cd5cf24d713d9f9f8cf83a9cb13b144956:
- File typeparse/tests_tclsh/t82_declaration_compilee.out — part of check-in [9107e09d45] at 2026-11-14 21:03:39 on branch tip-764_tcl90 — 1° normalisation : 'int' and 'double' values are stored like expr does (first part of 'canonic type'). 2° Notes are now kept by constructors of variables -> 4 meta-types of values exist : bare (shimmering value), typed (with a type), noted (with a note), typednoted (with a type and a note). This is done through a new C Enum : typedef enum { TCL_META_BARE, /* nue : aucun type, aucune note ; elle scintille */ TCL_META_TYPED, /* typée : un type résolu, fixé */ TCL_META_NOTED, /* notée : des notes, pas de type (proto-type) */ TCL_META_TYPED_NOTED /* typée et notée */ } TclMeta; (user: Florentis, size: 745) [annotate] [blame] [check-ins using]
point : {1.0 2.0} point 1 {point needs 2 values but got 1} compilé 1 défaut : 1 pdef needs 2 values but got 1 double : 1.5 double 1 {expected floating-point number but got "z"} 3.0 double 1 {expected floating-point number but got "z"} refus : 1 expected floating-point number but got "abc" expected floating-point number but got "abc" (procedure "p4" line 1) invoked from within "p4" partagée : {1.0 2.0} {} {1.0 2.0} point déjà typée : {3.0 4.0} point compacte : {{1.0 2.0} {3.0 4.0}} 1 somme : {cote 2.0} forme.cote {nom carré} forme.nom lien : {5.0 6.0} point 1 {point needs 2 values but got 1} trace : {7.0 8.0} point A qualifié : {1.0 1.0} point compilé 0 global : 2.0 2.0 point boucle : {2 1.0} point type inconnu : 0 1