Skip to content

Commit dc45833

Browse files
committed
Fix #280: Add regression test
1 parent d916343 commit dc45833

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

tests/neg/i280.scala

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
object infpaths3 {
2+
3+
object a {
4+
trait T { t =>
5+
type M <: t.g.N // error
6+
type T <: a.T
7+
val f: t.T
8+
9+
trait U { u =>
10+
type N <: t.f.M
11+
type U <: a.x.g.U // error
12+
val f: u.U
13+
}
14+
val g: t.U
15+
}
16+
val x: a.T = ???
17+
}
18+
19+
}

0 commit comments

Comments
 (0)