diff options
Diffstat (limited to 'test/examples/x.nim')
-rw-r--r-- | test/examples/x.nim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/examples/x.nim b/test/examples/x.nim index 07c9d216f..4bf0de737 100644 --- a/test/examples/x.nim +++ b/test/examples/x.nim @@ -4,3 +4,9 @@ let s = "foobar" # Feature #1260 {.ident.} stdin.readLine.split.map(parseInt).max.`$`.echo(" is the maximum!") + +# Feature #1261 +# IsFuncName("proc") so style ticks as SCE_NIM_FUNCNAME: +proc `$` (x: myDataType): string = ... +# Style ticks as SCE_NIM_BACKTICKS: +if `==`( `+`(3,4),7): echo "True" |