inline
methods can leak references to private classes
#8194
Labels
area:inline
area:reporting
Error reporting including formatting, implicit suggestions, etc
backlog
No work planned on this by the core team for the time being.
exp:advanced
help wanted
itype:enhancement
minimized code
https://scastie.scala-lang.org/or0Eg6u9Tky1ImaUNEdOug
Compilation output
expectation
This should compile, or at least report an error at the definition site of the
inline
method (similarly to how errors are reported when classes leak private val references), not at call sites.The text was updated successfully, but these errors were encountered: