Fix generic forward declarations; fixes #4104; fixes #4908 (#5566)

This commit is contained in:
zah 2017-03-23 13:40:57 +02:00 • committed by Andreas Rumpf
commit be174fc3c7
5 changed files with 36 additions and 15 deletions

View file

@ -82,7 +82,7 @@ template mdbg*: bool {.dirty.} =
elif compiles(L.fileIdx):
L.fileIdx == gProjectMainIdx
else:
false
error()
# --------------------------- ident tables ----------------------------------
proc idTableGet*(t: TIdTable, key: PIdObj): RootRef