Skip to content
New issue

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

Position point for New outside of start-end range #6768

Closed
scabug opened this issue Dec 5, 2012 · 2 comments
Closed

Position point for New outside of start-end range #6768

scabug opened this issue Dec 5, 2012 · 2 comments

Comments

@scabug
Copy link

scabug commented Dec 5, 2012

For an expression like new Some(""), the position's point points to new and the start points to Some instead of new.

@scabug
Copy link
Author

scabug commented Dec 5, 2012

Imported From: https://issues.scala-lang.org/browse/SI-6768?orig=1
Reporter: Mirko Stocker (misto)
Affected Versions: 2.10.0-RC3

@scabug
Copy link
Author

scabug commented Dec 5, 2012

@paulp said:
And more generally, there should be a tested invariant that start <= point <= end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants