summary refs log tree commit diff stats
path: root/tests/whenstmt
Commit message (Expand)AuthorAgeFilesLines
* when statements branches exit early (#17143)Saem Ghani2021-02-222-0/+71
t/run/tformat.nim?h=devel&id=cbee9c4e1a1252e6c809d25a0ef371ddee3fc802'>^
e80465dac ^





2cdfe35e7 ^

1
2
3
4
5
6
7
8
9
10
11
12



                                               





                                                              

 
discard """
  file: "tformat.nim"
  output: "Hi Andreas! How do you feel, Rumpf?"
"""
# Tests the new format proc (including the & and &= operators)

import strutils

echo("Hi $1! How do you feel, $2?\n" % ["Andreas", "Rumpf"])
#OUT Hi Andreas! How do you feel, Rumpf?