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.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.1.0
class Example { opaque type Index = Array[Int] transparent inline def index(using index: Index): Index = index } object Usage { def run(example: Example)(using example.Index): Unit = { example.index.length } }
Compiles ok
length should not be a member of the result of example.index when in the scope of Usage
length
example.index
Usage
The text was updated successfully, but these errors were encountered:
Could be a duplicate of #13461
Sorry, something went wrong.
I added it to #13461
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Compiler version
3.1.0
Minimized code
Output
Compiles ok
Expectation
length
should not be a member of the result ofexample.index
when in the scope ofUsage
The text was updated successfully, but these errors were encountered: