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 1d5e95e commit d4c17e0Copy full SHA for d4c17e0
tests/pos/i7217.scala
@@ -0,0 +1,5 @@
1
+class Foo(p1: String, p2: String):
2
+ def this(p1: String) = this(p1, "blah")
3
+
4
+val x = { Foo("blah", "hah") }
5
+val y = { Foo("blah") }
0 commit comments