Skip to content
Discussion options

You must be logged in to vote

In that case, then it looks like a bug.

At typer, the call to qualified access looks like the following, where the special accessor takes the enclosing object, which should be the package object.

 inline def hello(): Unit = { val greeting: String = io.github.foo.inline$packagePrivateMethod$i1(io.github.foo.internal)() println(greeting) }:Unit @main def main(): Unit = { io.github.foo.hello() } def inline$packagePrivateMethod$i1(x$0: io.github.foo.internal)(): String = x$0.packagePrivateMethod() 

For simplicity, I named my file harry1.scala:

package io.github.foo.internal { final lazy module val harry1$package: io.…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@harry0000
Comment options

@som-snytt
Comment options

Answer selected by harry0000
@harry0000
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants