Skip to content

Commit e65cf90

Browse files
committed
Add regression test
Closes #9363
1 parent f8dec07 commit e65cf90

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)