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.
2 parents d8e7c40 + d4c17e0 commit 421d2e9Copy full SHA for 421d2e9
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