Skip to content
Snippets Groups Projects
Commit 01c332f9 authored by Philippe Suter's avatar Philippe Suter
Browse files

Fix in nsc config to make testing possible.

parent f2e23fad
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,8 @@ object ExtractionPhase extends LeonPhase[List[String], Program] {
def run(ctx: LeonContext)(args: List[String]): Program = {
val settings = new NSCSettings
settings.usejavacp.value = true
val compilerOpts = args.filterNot(_.startsWith("--"))
val command = new CompilerCommand(compilerOpts, settings) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment