summary refs log tree commit diff stats
path: root/tests/fields
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-06-05 10:30:24 +0200
committerAndreas Rumpf <rumpf_a@web.de>2017-06-05 10:30:24 +0200
commit55c244400d303d5a7c30cc234cb062603f02c2ae (patch)
tree9a244ff8b1456e54cf64ee130bcd35f4c0966925 /tests/fields
parentc59bc0cc183ccaed25e8e4a3cc286f2bb351405b (diff)
downloadNim-55c244400d303d5a7c30cc234cb062603f02c2ae.tar.gz
.partial object field names are left unmangled; mangling should be done by the macro instead
Diffstat (limited to 'tests/fields')
-rw-r--r--tests/fields/timplicitfieldswithpartial.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fields/timplicitfieldswithpartial.nim b/tests/fields/timplicitfieldswithpartial.nim
index ab50f4276..996912a1a 100644
--- a/tests/fields/timplicitfieldswithpartial.nim
+++ b/tests/fields/timplicitfieldswithpartial.nim
@@ -1,5 +1,5 @@
 discard """
-  out: '''(foo0: 38, other1: string here)
+  output: '''(foo: 38, other: string here)
 43'''
 """
 
@@ -12,7 +12,7 @@ proc my(f: Foo) =
   let f.foo = 38
   let f.other = "string here"
   echo f[]
-  echo f.foo0 + 5
+  echo f.foo + 5
 
 var g: Foo
 new(g)