Artifact e820f35d930c3ad95c41a147450a931775eeff14496bc765332011a9c3822f9c:
- File typeparse/tests_tclsh/t31_somme_parametree.tcl — part of check-in [17b2667925] at 2026-11-27 11:49:20 on branch tip-764_tcl90 — v18a - label {/name} for fields, variants, named argument and canonic type ({S/s}5, {/s}5) - P/f give the type of the field f of the product P - S/v give the type of the variant v of the sum S - error messages label {celsius:} is now written {/celsius} a variant of a type is now written with /: temp/celsius. - The name of a variant can be a type name. (user: Florentis, size: 255) [annotate] [blame] [check-ins using]
type def a1 {{int}x} type def {p1({int}n)} {{list($n).int}l} type def {exe({int}n)} {{a1}elf, {p1($n)}pe} set {p1(2)}P(l) {4 5} set {exe(2)}X {/pe}$P puts [type get $X] puts $X(pe.l.1) set {a1}A {/x}3 set {exe(2)}Y {/elf}$A puts "[type get $Y] $Y(elf.x)"