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

Use project-specific compiler settings when evaluating a worksheet. #175

Merged
merged 1 commit into from
Feb 11, 2014

Conversation

dragos
Copy link
Member

@dragos dragos commented Feb 10, 2014

No test since there is no easy way to trigger some observable effect from
compiler settings, other than using compiler plugins (and continuations are
missing from the 2.11 build).

However, I think the integration test isn't really necessary: scalacArguments
is part of sdt.core and used by the sbt builder.

Fixed #173

@ghprb-bot
Copy link

Test PASSed.
Refer to this link for build results: https://jenkins.scala-ide.org:8496/jenkins/job/ghprb-worksheet-validator/31/

No test since there is no easy way to trigger some observable effect from
compiler settings, other than using compiler plugins (and continuations are
missing from the 2.11 build).

* -deprecation or -feature won't work because warnings are not reported (see scala-ide#174)
* the continuations plugin isn't part of 2.11, so tests would only work in 2.10

However, I think the integration test isn't really necessary: `scalacArguments`
is part of `sdt.core` and used by the sbt builder.

Fixed scala-ide#173
@ghprb-bot
Copy link

Test PASSed.
Refer to this link for build results: https://jenkins.scala-ide.org:8496/jenkins/job/ghprb-worksheet-validator/33/

@dotta
Copy link
Member

dotta commented Feb 11, 2014

Did you smoke tested that compiler plug-ins are picked up? If yes, then LGTM.

@dragos
Copy link
Member Author

dragos commented Feb 11, 2014

Yes, I forgot to mention that. I manually tested it using the continuations plugin on 2.10, and it worked. However, new settings take effect only after a successful build (same as for classpath changes, before this PR).

@huitseeker
Copy link
Member

LGTM, of course !

@skyluc
Copy link
Member

skyluc commented Feb 11, 2014

👍
I tested using -Xno-uescape. It generates pretty errors.

dragos added a commit that referenced this pull request Feb 11, 2014
Use project-specific compiler settings when evaluating a worksheet.
@dragos dragos merged commit 825cf19 into scala-ide:master Feb 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use project compiler settings
5 participants