fixed for nim 0.18.0

This commit is contained in:
CodeDoes 2018-06-20 07:39:17 +02:00 • committed by Joey Yakimowich-Payne
commit 05b2d9e7c2

View file

@ -288,7 +288,7 @@ macro class*(head: untyped, body: untyped): untyped =
# OfInherit
# Ident !"RootObj"
# Empty <= We want to replace self
typeDecl[0][0][2][0][2] = recList
typeDecl#[[0]]#[0][2][0][2] = recList
result.insert(0, typeDecl)
when isMainModule: