Closed
Description
Compiler version
3.0.0-RC1-bin-SNAPSHOT
at e10cfa8
Minimized example
object Outer {
object Wrap {
export Outer.Bar
}
class Bar
val wrapBar = Wrap.Bar()
}
Output
9 | val wrapBar = Wrap.Bar()
| ^^^^^^^^
| value Bar is not a member of object Outer.Wrap
Expectation
no compilation error. If I add a companion to Bar
then there is no error.
This is against my expectation because usually classes have creator proxies synthesized if no companion is explicitly declared