Skip to content

Commit b6cb7b9

Browse files
szymon-rdKordyjan
authored andcommitted
Move tests
1 parent 57bf2f4 commit b6cb7b9

File tree

3 files changed

+14
-15
lines changed

3 files changed

+14
-15
lines changed

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

+14
Original file line numberDiff line numberDiff line change
@@ -151,3 +151,17 @@ package foo.test.i16877:
151151

152152
@ExampleAnnotation(new HashMap()) // OK
153153
class Test //OK
154+
155+
package foo.test.i16926:
156+
def hello(): Unit =
157+
for {
158+
i <- (0 to 10).toList
159+
(a, b) = "hello" -> "world" // OK
160+
} yield println(s"$a $b")
161+
162+
package foo.test.i16925:
163+
def hello =
164+
for {
165+
i <- 1 to 2 if true
166+
_ = println(i) // OK
167+
} yield ()

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

-8
This file was deleted.

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

-7
This file was deleted.

0 commit comments

Comments
 (0)