Skip to content

Commit a1e8e2a

Browse files
authored
Merge pull request #463 from lightbend/fixResultTypeChangedNegativeCompilationTest
Fix 'ResultTypeChanged' negative compilation test
2 parents a5ed18e + 8c906b1 commit a1e8e2a

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)