summary refs log tree commit diff stats
path: root/lib/core
diff options
context:
space:
mode:
authorJasper Jenkins <jasper.vs.jenkins@gmail.com>2019-06-04 23:04:29 -0700
committerAndreas Rumpf <rumpf_a@web.de>2019-06-05 08:04:29 +0200
commit71388caf2e6011690e0ba51a93bdec1419b5af14 (patch)
tree297568f2bb0b7e8277618e3e5ea9c82518ac1bb9 /lib/core
parent721534119000c2bd53cc72b531726a6104381222 (diff)
downloadNim-71388caf2e6011690e0ba51a93bdec1419b5af14.tar.gz
remove stdlib case transitions (#11401)
Diffstat (limited to 'lib/core')
-rw-r--r--lib/core/typeinfo.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/core/typeinfo.nim b/lib/core/typeinfo.nim
index fe958c7f5..d8bbfb642 100644
--- a/lib/core/typeinfo.nim
+++ b/lib/core/typeinfo.nim
@@ -700,7 +700,7 @@ when isMainModule:
 
   var test3: TestObj
   test3.test = 42
-  test3.test2 = blah2
+  test3 = TestObj(test2: blah2)
   var x3 = toAny(test3)
   i = 0
   for n, a in fields(x3):