Artifact 354949f6ebf2a4007e9024209799ee287f71ad1fb5214f55e6613a245df5bde4:
- File typeparse/tests_tclsh/t55_cast_collection.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: 719) [annotate] [blame] [check-ins using]
foreach : 0.0,0.0 foreach : 3.0,4.0 lassign : 3.0 4.0 llength : 2 (le point seul : 2) dict : x=3.0 dict : y=4.0 dict for : centre=1.0 2.0 dict for : rayon=5.0 list : <{1.0 2.0} 5.0> list : {} {} list.any : <{1.0 2.0} 5.0> list<any> : point double list.double: <3.0 4.0> list<double> : {} {} list(2).int: refus : expected integer but got "3.0" dict.any : point somme : <p {3.0 4.0}> list : {} {} poly : <{0.0 0.0} {3.0 4.0}> list<point> : point point poly nu : <{0.0 0.0} {3.0 4.0}> list : {} {} chaîne : 1 refus : expected integer but got "1.0 2.0" refus : list(3)<double> needs exactly 3 elements but got 2 refus : list(3)<point> needs exactly 3 elements but got 2 dans une procédure : 2