Skip to content

Commit 1f34888

Browse files
authored
Merge pull request #13720 from soronpo/i13120_test
Add regression test for #13120
2 parents 97c772b + c764846 commit 1f34888

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

tests/pos/i13120/Foo.scala

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import container.ir
2+
3+
opaque type Foo = ir.Foo
4+
5+
object Foo:
6+
def bar(foo: Foo): Unit = {}
7+
8+
export Foo.*

tests/pos/i13120/container.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
object container:
2+
object ir:
3+
sealed trait Foo

0 commit comments

Comments
 (0)