Skip to content

Commit c661458

Browse files
committed
address reviews
1 parent f583b70 commit c661458

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/warn/i23369.scala

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,13 @@ def test(a: Basic.Adt[String]) = {
1414
case Basic.Foo() =>
1515
}
1616
}
17+
18+
object Basic2 extends Module {
19+
type BarTy = Int
20+
}
21+
22+
def test2(a: Basic2.Adt[String]) = {
23+
a match {
24+
case Basic2.Foo() =>
25+
}
26+
}

0 commit comments

Comments
 (0)