summary refs log tree commit diff stats
path: root/tests/importalls
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-04-18 15:15:58 -0700
committerGitHub <noreply@github.com>2021-04-19 00:15:58 +0200
commit0a10af5a2ce27638c8298e96866a779928122269 (patch)
tree0a507184bab9d00893c4d1ae50ea4d0ce1c794a1 /tests/importalls
parentd6c8efa5d444f6849102dca192a199f12c8d55eb (diff)
downloadNim-0a10af5a2ce27638c8298e96866a779928122269.tar.gz
privateAccess now works with ref | ptr (#17760)
Diffstat (limited to 'tests/importalls')
-rw-r--r--tests/importalls/mt1.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/importalls/mt1.nim b/tests/importalls/mt1.nim
index 87c4eff16..b7983945c 100644
--- a/tests/importalls/mt1.nim
+++ b/tests/importalls/mt1.nim
@@ -10,8 +10,8 @@ doAssert m.m3p1 == 2
 ## field access
 import std/importutils
 privateAccess(Foo5)
-# var x = Foo5(z1: "foo", z2: m.kg1)
-# doAssert x.z1 == "foo"
+var x = Foo5(z1: "foo", z2: m.kg1)
+doAssert x.z1 == "foo"
 
 var f0: Foo5
 f0.z3 = 3