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
A position of the definition of binding y is wrong
y
x match { case y @ Some(_) => ... // ^ currently it point here }
It can be reproduced in dotty.tools.languageserver.DefinitionTest with
dotty.tools.languageserver.DefinitionTest
@Test def goToBinding: Unit = { withSources( code"""class Foo { |val x = Some(6) |x match { | case ${m1}y${m2} @ Some(_) => ${m3}y${m4} |} }""" ) .definition(m3 to m4, List(m1 to m2)) }
The text was updated successfully, but these errors were encountered:
c5326ca
Merge pull request #5705 from dotty-staging/fix-#5583
615fdc9
Fix #5583: Pass correct offset to bind node
No branches or pull requests
A position of the definition of binding
y
is wrongIt can be reproduced in
dotty.tools.languageserver.DefinitionTest
withThe text was updated successfully, but these errors were encountered: