first implementation of package level types that allow forwarding across module boundaries

This commit is contained in:
Andreas Rumpf 2017-10-28 15:28:59 +02:00
commit 7889692523
7 changed files with 47 additions and 21 deletions

View file

@ -155,7 +155,7 @@ proc ensureNoMissingOrUnusedSymbols(scope: PScope) =
var s = initTabIter(it, scope.symbols)
var missingImpls = 0
while s != nil:
if sfForward in s.flags:
if sfForward in s.flags and s.kind != skType:
# too many 'implementation of X' errors are annoying
# and slow 'suggest' down:
if missingImpls == 0: