diff options
Diffstat (limited to 'tests/template/template_various.nim')
-rw-r--r-- | tests/template/template_various.nim | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/template/template_various.nim b/tests/template/template_various.nim index 50003254a..36fa42050 100644 --- a/tests/template/template_various.nim +++ b/tests/template/template_various.nim @@ -6,7 +6,6 @@ foo55 foo8.0 fooaha bar7 -immediate 10 4true 132 @@ -123,21 +122,6 @@ block pattern_with_converter: -block prefer_immediate: - # Test that immediate templates are preferred over non-immediate templates - - template foo(a, b: untyped) = echo "foo expr" - template foo(a, b: int) = echo "foo int" - template foo(a, b: float) = echo "foo float" - template foo(a, b: string) = echo "foo string" - template foo(a, b: untyped) {.immediate.} = echo "immediate" - template foo(a, b: bool) = echo "foo bool" - template foo(a, b: char) = echo "foo char" - - foo(undeclaredIdentifier, undeclaredIdentifier2) - - - block procparshadow: template something(name: untyped) = |