Commit f70ca09
committed
Fix crash when comparing HKTypeLambda and RefinedType
Calling HKTypeLambda#member will crash when trying to form a NamedType,
this happened in `compareRefinedSlow` so we now skip it. If this
HKTypeLambda is an eta-expansion it will be handled by `fourthTry`.
Somehow, this only started happening after the last commit, when
running:
> vulpix tests/neg
But it's not deterministic, multiple runs may be necessary.
The crash happened while compiling i1650.scala, but compiling this file
by itself didn't trigger the failure.1 parent b90a468 commit f70ca09
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
416 | 419 | | |
417 | 420 | | |
418 | 421 | | |
| |||
0 commit comments