-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add error messages - Parsers.scala:626 and Parsers.scala:1492 #1615
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
Conversation
/rebuild |
So the test that is failing is: You can try compiling it with |
@felixmulder thanks for the hint ! I fixed it :-) |
| | ||
|$code2 | ||
| | ||
|""".stripMargin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@liufengyun has been working on modifiers with positions, and I'm thinking maybe we could enhance this further to say make the following recommendation:
This happens when you accidentally specify the same modifier twice:
private private lazy val x = ...
instead of:
private lazy val x = ...
Where this would be the user's code without the duplicate modifier. What do you think @liufengyun - can this be done with the new modifier objects?
|
||
val code1 = "s\"$new Point(0,0).toString\"" | ||
|
||
val code2 = "s\"${new Point(0,0).toString}\"" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need for .toString
in a string interpolation, it gets called automagically :)
/rebuild |
Hmm, where the CI at? |
/rebuild |
Hey @adriaanm and @SethTisue - could you check if something's wrong with the CI? Pretty please :) edit: thanks guyz, seems to be alive and kicking again |
/rebuild |
Looks like you're getting the regular sbt launcher (???) and not xsbt (which I just verified is in /usr/local/bin/sbt on behemoth-2 EDIT: looks like behemoth-1 got out of synch :-().
|
There's also a DNS DDOS going on. |
/rebuild |
sbt-extras bug should be resolved (scala/scala-jenkins-infra#194) |
Error messages for Parsers.scala:626 and Parsers.scala:1492.
Note: I may have to bump the error message ids - depending on whether the other PR gets merged before this one.