HCR: properly handling complex const objects in the codegen - fixes #13915 (#14115)

This commit is contained in:
Viktor Kirilov 2020-04-25 21:17:33 +03:00 • committed by GitHub
commit 018e297d66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 32 additions and 6 deletions

View file

@ -14,5 +14,6 @@ let c = makeCounter()
afterCodeReload:
echo " 0: after - closure iterator: ", c()
echo " 0: after - closure iterator: ", c()
echo " 0: after - c_2 = ", c_2
proc getInt*(): int = return g_1 + g_2.len