We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents adefa48 + e65cf90 commit 2002b6aCopy full SHA for 2002b6a
tests/pos/i9363.scala
@@ -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