We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 632ddd4 commit 4f9b945Copy full SHA for 4f9b945
tests/flexible-types/run/array/Test.scala
@@ -13,7 +13,7 @@ class Foo {
13
14
15
object Test {
16
- def main() = {
+ def main(args: Array[String]): Unit = {
17
val i : Integer = new Integer(3) // Constructor with non-ref arg
18
val s1 : String | Null = new String("abc") // Constructor with ref arg
19
val s2 : String = new String("abc") // Constructor with ref arg, not null
0 commit comments