improves the stability of 'nim check'
This commit is contained in:
parent
ac10a3813a
commit
55a5dcf8a4
2 changed files with 3 additions and 2 deletions
|
|
@ -1242,7 +1242,9 @@ proc typeRelImpl(c: var TCandidate, f, aOrig: PType,
|
||||||
if result < isGeneric: result = isNone
|
if result < isGeneric: result = isNone
|
||||||
elif a.kind == tyGenericParam:
|
elif a.kind == tyGenericParam:
|
||||||
result = isGeneric
|
result = isGeneric
|
||||||
of tyForward: internalError("forward type in typeRel()")
|
of tyForward:
|
||||||
|
#internalError("forward type in typeRel()")
|
||||||
|
result = isNone
|
||||||
of tyNil:
|
of tyNil:
|
||||||
if a.kind == f.kind: result = isEqual
|
if a.kind == f.kind: result = isEqual
|
||||||
of tyTuple:
|
of tyTuple:
|
||||||
|
|
|
||||||
1
todo.txt
1
todo.txt
|
|
@ -45,7 +45,6 @@ Bugs
|
||||||
|
|
||||||
- VM: Pegs do not work at compile-time
|
- VM: Pegs do not work at compile-time
|
||||||
- blocks can "export" an identifier but the CCG generates {} for them ...
|
- blocks can "export" an identifier but the CCG generates {} for them ...
|
||||||
- ConcreteTypes in a 'case' means we don't check for duplicated case branches
|
|
||||||
|
|
||||||
|
|
||||||
GC
|
GC
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue