bootstrapping works again

This commit is contained in:
Araq 2016-11-12 12:39:21 +01:00
commit b234b082b6
4 changed files with 36 additions and 18 deletions

View file

@ -1209,10 +1209,10 @@ proc newType*(kind: TTypeKind, owner: PSym): PType =
result.lockLevel = UnspecifiedLockLevel
when debugIds:
registerId(result)
#if result.id == 92231:
# echo "KNID ", kind
# writeStackTrace()
# messageOut(typeKindToStr[kind] & ' has id: ' & toString(result.id))
when false:
if result.id == 205734:
echo "KNID ", kind
writeStackTrace()
proc mergeLoc(a: var TLoc, b: TLoc) =
if a.k == low(a.k): a.k = b.k