Skip to content

Commit 75d1d4d

Browse files
committed
Add test
1 parent c735461 commit 75d1d4d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/warn/i15503a.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,8 @@ package testImportsInImports:
213213
package c:
214214
import a.b // OK
215215
import b.x // OK
216-
val y = x
216+
import b.x as z // OK
217+
val y = x + z
217218

218219
//-------------------------------------
219220
package testOnOverloadedMethodsImports:
@@ -265,4 +266,4 @@ package foo.test.typeapply.hklamdba.i16680:
265266
import foo.IO // OK
266267

267268
def f[F[_]]: String = "hello"
268-
def go = f[IO]
269+
def go = f[IO]

0 commit comments

Comments
 (0)