diff options
author | Adam Strzelecki <ono@java.pl> | 2015-10-30 00:27:33 +0100 |
---|---|---|
committer | Adam Strzelecki <ono@java.pl> | 2015-10-30 12:05:02 +0100 |
commit | f838c1baa48a22ef74f431d9b691af179d1c632d (patch) | |
tree | f23afb9efab9f4bf1b1d126fe591512c1e9549ed /tests/misc/tquicksort.nim | |
parent | 8e4b5e10ba2945f880a857872862bcb28f625594 (diff) | |
download | Nim-f838c1baa48a22ef74f431d9b691af179d1c632d.tar.gz |
fixes #3498
Previously it was not possible to use template arguments in template body as the symbols were not resolved correctly leading to Error: undeclared identifier: 'XX', eg.: template defaultOf[T](t: T): expr = (var d: T; d) echo defaultOf(1) #<- invalid identifier, but should output 0
Diffstat (limited to 'tests/misc/tquicksort.nim')
0 files changed, 0 insertions, 0 deletions