.partial object field names are left unmangled; mangling should be done by the macro instead
This commit is contained in:
parent
c59bc0cc18
commit
55c244400d
2 changed files with 3 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue