Skip to content

Commit c7a5d0b

Browse files
committed
Fix test for wunused alias deriving
1 parent 67e70fe commit c7a5d0b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,9 +277,12 @@ package foo.test.i16679b:
277277
package foo.test.i17156:
278278
package a:
279279
trait Foo[A]
280+
object Foo:
281+
inline def derived[T]: Foo[T] = new Foo{}
280282

281283
package b:
282-
type Xd = Foo
284+
import a.Foo
285+
type Xd[A] = Foo[A]
283286

284287
package c:
285288
import b.Xd

0 commit comments

Comments
 (0)