Commit af5f9b0
committed
Fix nightly build after eta-expansion changes
The nightly build runs the sbt incremental compilation tests (that can be
run by hand using sbt "sbt-dotty/scripted source-dependencies/*" but
take a while to complete). The implicit-params test started failing
after #2701 because B.scala contains:
val y = x(3)
which was supposed to fail when the implicit is not present but now
succeeds with `y` getting the type `E => String`. We restore the failure
by adding a type annotation to `y`1 parent d1f7968 commit af5f9b0
File tree
1 file changed
+2
-2
lines changed- sbt-dotty/sbt-test/source-dependencies/implicit-params
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
0 commit comments