4f8d982d5 ^
000b8afd2 ^
1 2 3 4 5
6
7 8 9 10 11 12 13
discard """ output: "hi" """ # bug #2670 template testTemplate(b: bool): typed = when b: var a = "hi" else: var a = 5 echo a testTemplate(true)