Skip to content

Commit 8c906b1

Browse files
committed
Fix 'ResultTypeChanged' negative compilation test
This test was supposed to test that running this code, compiled against v1, against v2, would indeed fail. Unfortunately it didn't have the expected class name, so it already failed for that reason.
1 parent bf742f6 commit 8c906b1

File tree

1 file changed

+4
-2
lines changed
  • functional-tests/src/test/class-method-result-type-changed-nok/app

1 file changed

+4
-2
lines changed
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
object Main extends App {
2-
println(new Foo().bar)
1+
object App {
2+
def main(args: Array[String]): Unit = {
3+
println(new Foo().bar)
4+
}
35
}

0 commit comments

Comments
 (0)