make tests green again
This commit is contained in:
parent
0ba50f9890
commit
34b333b140
2 changed files with 2 additions and 2 deletions
|
|
@ -970,7 +970,7 @@ proc sameTypeAux(x, y: PType, c: var TSameTypeClosure): bool =
|
||||||
result = sameFlags(a, b)
|
result = sameFlags(a, b)
|
||||||
of tyGenericParam:
|
of tyGenericParam:
|
||||||
result = sameChildrenAux(a, b, c) and sameFlags(a, b)
|
result = sameChildrenAux(a, b, c) and sameFlags(a, b)
|
||||||
if result and ExactGenericParams in c.flags:
|
if result and {ExactGenericParams, ExactTypeDescValues} * c.flags != {}:
|
||||||
result = a.sym.position == b.sym.position
|
result = a.sym.position == b.sym.position
|
||||||
of tyGenericInvocation, tyGenericBody, tySequence,
|
of tyGenericInvocation, tyGenericBody, tySequence,
|
||||||
tyOpenArray, tySet, tyRef, tyPtr, tyVar, tyLent, tySink,
|
tyOpenArray, tySet, tyRef, tyPtr, tyVar, tyLent, tySink,
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ proc parseInt(x: float): int {.noSideEffect.} = discard
|
||||||
proc parseInt(x: bool): int {.noSideEffect.} = discard
|
proc parseInt(x: bool): int {.noSideEffect.} = discard
|
||||||
proc parseInt(x: float32): int {.noSideEffect.} = discard
|
proc parseInt(x: float32): int {.noSideEffect.} = discard
|
||||||
proc parseInt(x: int8): int {.noSideEffect.} = discard
|
proc parseInt(x: int8): int {.noSideEffect.} = discard
|
||||||
proc parseInt(x: TFile): int {.noSideEffect.} = discard
|
proc parseInt(x: File): int {.noSideEffect.} = discard
|
||||||
proc parseInt(x: char): int {.noSideEffect.} = discard
|
proc parseInt(x: char): int {.noSideEffect.} = discard
|
||||||
proc parseInt(x: int16): int {.noSideEffect.} = discard
|
proc parseInt(x: int16): int {.noSideEffect.} = discard
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue