Skip to content

Commit 2002b6a

Browse files
Merge pull request #13430 from dotty-staging/close-#9363
Add regression test
2 parents adefa48 + e65cf90 commit 2002b6a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/pos/i9363.scala

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
class Foo:
2+
protected inline def fooProtected: Int = 12
3+
4+
object Foo extends Foo:
5+
inline def foo: Int = fooProtected
6+
7+
object Bar:
8+
def bar: Int = Foo.foo

0 commit comments

Comments
 (0)