summary refs log tree commit diff stats
path: root/tests/template/mcan_access_hidden_field.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/template/mcan_access_hidden_field.nim')
-rw-r--r--tests/template/mcan_access_hidden_field.nim3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/template/mcan_access_hidden_field.nim b/tests/template/mcan_access_hidden_field.nim
index bf3592701..2c0026ec1 100644
--- a/tests/template/mcan_access_hidden_field.nim
+++ b/tests/template/mcan_access_hidden_field.nim
@@ -5,5 +5,4 @@ type
 
 proc createFoo*(a, b: int): Foo = Foo(fooa: a, foob: b)
 
-template geta*(f: Foo): expr = f.fooa
-
+template geta*(f: Foo): untyped = f.fooa