Skip to content

Commit 9886ef3

Browse files
committed
Move tests
1 parent 67df3e5 commit 9886ef3

File tree

3 files changed

+14
-15
lines changed

3 files changed

+14
-15
lines changed

tests/neg-custom-args/fatal-warnings/i15503i.scala

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,3 +194,17 @@ package foo.test.i16877:
194194

195195
@ExampleAnnotation(new HashMap()) // OK
196196
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+
for {
208+
i <- 1 to 2 if true
209+
_ = println(i) // OK
210+
} yield ()

tests/neg-custom-args/fatal-warnings/i16925.scala

Lines changed: 0 additions & 8 deletions
This file was deleted.

tests/neg-custom-args/fatal-warnings/i16926.scala

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)