We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The range position for a selection (foo).bar doesn't include the leading (, which seems inconsistent.
(foo).bar
(
class A { def t = new C() } // 24:31 // 99 class B { def t = (new C) } // 25:30 // 99 class C { def t = new C } // 24:29 // 99 class D { def t = new C().t } // 24:33 // 99 class E { def t = (new C).t } // 25:33 << BAD // 99 class F { def t(c: C) = c } // 24:25 // 99 class G { def t(c: C) = (c) } // 25:26 // 99 class H { def t(c: C) = c.t } // 24:27 // 99 class I { def t(c: C) = (c).t } // 25:29 << BAD // 99 // ^24 ^33
Positions are shown when compiling the above with -Yrangepos -Xprint:parser -Ypos-debug -Yshow-trees.
-Yrangepos -Xprint:parser -Ypos-debug -Yshow-trees
The text was updated successfully, but these errors were encountered:
lrytz
No branches or pull requests
The range position for a selection
(foo).bar
doesn't include the leading(
, which seems inconsistent.Positions are shown when compiling the above with
-Yrangepos -Xprint:parser -Ypos-debug -Yshow-trees
.The text was updated successfully, but these errors were encountered: