summary refs log tree commit diff stats
path: root/tests/casestmt/tcasestmt.nim
Commit message (Expand)AuthorAgeFilesLines
* evaluate all hidden conversions in case branches (#24187)metagn2024-09-271-0/+5
* Mark `macros.error` as `.noreturn.` (#23081)Jake Leahy2023-12-171-0/+14
* fixes #20031; uint64 is an ordinal type since 1.0 (#20094)ringabout2022-07-271-0/+11
* Revert "fixes #15280 [backport:1.2] (#15281)" (#15700)Clyybber2020-10-241-1/+1
* fixes #15280 [backport:1.2] (#15281)Andreas Rumpf2020-09-091-1/+1
* [cleanups] doassert => doAssert; mark deadcode (#14711)Timothee Cour2020-06-171-6/+6
* EndsInNoReturn in expressions extension, fixes #13490 (#13520)cooldome2020-02-281-0/+37
* Fix spellings (#12277) [backport]Federico Ceratto2019-09-271-1/+1
* closes #11551 (#11693)Arne Döring2019-07-091-0/+13
* introduce internal Int128 type, use it to fix case stmt checks (#11652)Arne Döring2019-07-051-0/+11
* require errormsg to be specified before file.Arne Döring2018-12-111-3/+2
* Merge tests into a larger file (part 1 of ∞) (#9318)Miran2018-10-121-0/+229
egex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
# Module B
import trecmod2

proc p*(x: trecmod2.T1): trecmod2.T1 =
  # this works because the compiler has already
  # added T1 to trecmod2's interface symbol table
  return x + 1