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 e03fa1b commit 606608aCopy full SHA for 606608a
tests/neg-custom-args/fatal-warnings/i15503i.scala
@@ -194,3 +194,17 @@ package foo.test.i16877:
194
195
@ExampleAnnotation(new HashMap()) // OK
196
class Test //OK
197
+
198
+package foo.test.i16926:
199
+ def hello(): Unit =
200
+ for {
201
+ i <- (0 to 10).toList
202
+ (a, b) = "hello" -> "world" // OK
203
+ } yield println(s"$a $b")
204
205
+package foo.test.i16925:
206
+ def hello =
207
208
+ i <- 1 to 2 if true
209
+ _ = println(i) // OK
210
+ } yield ()
tests/neg-custom-args/fatal-warnings/i16925.scala
tests/neg-custom-args/fatal-warnings/i16926.scala
0 commit comments