Skip to content

Commit

Permalink
fixed bootstrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
krux02 committed Oct 15, 2019
1 parent 978c1f7 commit b44bddc
Show file tree
Hide file tree
Showing 4 changed files with 227 additions and 220 deletions.
1 change: 1 addition & 0 deletions compiler/condsyms.nim
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,4 @@ proc initDefines*(symbols: StringTableRef) =
defineSymbol("nimHasStyleChecks")
defineSymbol("nimToOpenArrayCString")
defineSymbol("nimHasUsed")
defineSymbol("nimFixedForwardGeneric")
2 changes: 1 addition & 1 deletion compiler/types.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,7 @@ proc sameTypeAux(x, y: PType, c: var TSameTypeClosure): bool =
result = a.sym.position == b.sym.position
of tyBuiltInTypeClass:
assert a.len == 1
assert a[0].len == 1
assert a[0].len == 0
assert b.len == 1
assert b[0].len == 0
result = a[0].kind == b[0].kind
Expand Down
Loading

0 comments on commit b44bddc

Please sign in to comment.