Commit f809ec4
committed
Correct handling of overloaded methods with PolyFunction args
Overloaded methods must have distinct signatures after erasure. The
check for this happens before PolyFunctions have been mapped to the
corresponding FunctionN so will always be considered as erasing to the
same type (PolyFunction without any refinement).
To avoid this we perform the PolyFunction to FunctionN mapping in the
method signature computation.1 parent 6db3ba4 commit f809ec4
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3194 | 3194 | | |
3195 | 3195 | | |
3196 | 3196 | | |
| 3197 | + | |
3197 | 3198 | | |
3198 | | - | |
| 3199 | + | |
| 3200 | + | |
| 3201 | + | |
| 3202 | + | |
| 3203 | + | |
| 3204 | + | |
| 3205 | + | |
| 3206 | + | |
| 3207 | + | |
3199 | 3208 | | |
3200 | 3209 | | |
3201 | 3210 | | |
| |||
0 commit comments