Open nicolasstucki opened 6 months ago
def inline$valBinaryAPI2$i1(x$0: foo.G): Int = x$0.valBinaryAPI2
should probably not receive foo.G
as a parameter as it is statically known. We should probably generate
def inline$valBinaryAPI2$i1: Int = foo.G.valBinaryAPI2
Unfortunately, this is a binary incompatible change. We will need to wait until -WunstableInlineAccessors
is settled and we allow breaking changes in the in auto-generated inline accessors.
Compiler version
3.4.0-RC3 (probably also on 3.3.X)
Minimized code
or
Output
Expectation
It should pass -Ycheck or emit an error if it is impossible to generate such accessor.