Skip to content

Commit b44bddc

Browse files
committed
fixed bootstrapping
1 parent 978c1f7 commit b44bddc

File tree

4 files changed

+227
-220
lines changed

4 files changed

+227
-220
lines changed

compiler/condsyms.nim

+1
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,4 @@ proc initDefines*(symbols: StringTableRef) =
9898
defineSymbol("nimHasStyleChecks")
9999
defineSymbol("nimToOpenArrayCString")
100100
defineSymbol("nimHasUsed")
101+
defineSymbol("nimFixedForwardGeneric")

compiler/types.nim

+1-1
Original file line numberDiff line numberDiff line change
@@ -1123,7 +1123,7 @@ proc sameTypeAux(x, y: PType, c: var TSameTypeClosure): bool =
11231123
result = a.sym.position == b.sym.position
11241124
of tyBuiltInTypeClass:
11251125
assert a.len == 1
1126-
assert a[0].len == 1
1126+
assert a[0].len == 0
11271127
assert b.len == 1
11281128
assert b[0].len == 0
11291129
result = a[0].kind == b[0].kind

0 commit comments

Comments
 (0)