diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2016-05-25 16:42:19 +0200 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2016-05-25 16:42:19 +0200 |
commit | b85c9a722ce56ebfb6e41cea7a7387126286b187 (patch) | |
tree | 8ecb848df6c1455de3f2f2ce1d7cc970a09c0058 /test/files/run/noInlineUnknownIndy | |
parent | 65642d9f5ca6abc4836811fd0db0fc7d7b4dcb1c (diff) | |
download | scala-b85c9a722ce56ebfb6e41cea7a7387126286b187.tar.gz scala-b85c9a722ce56ebfb6e41cea7a7387126286b187.tar.bz2 scala-b85c9a722ce56ebfb6e41cea7a7387126286b187.zip |
Rename -Yopt to -opt, -Yopt-warnings to -opt-warnings
Keep -Yopt-inline-heuristics and -Yopt-trace unchanged
Diffstat (limited to 'test/files/run/noInlineUnknownIndy')
-rw-r--r-- | test/files/run/noInlineUnknownIndy/Test.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/noInlineUnknownIndy/Test.scala b/test/files/run/noInlineUnknownIndy/Test.scala index 8d2d20a3cd..c6d227b6f2 100644 --- a/test/files/run/noInlineUnknownIndy/Test.scala +++ b/test/files/run/noInlineUnknownIndy/Test.scala @@ -11,7 +11,7 @@ object Test extends DirectTest { def compileCode(code: String) = { val classpath = List(sys.props("partest.lib"), testOutput.path) mkString sys.props("path.separator") - compileString(newCompiler("-cp", classpath, "-d", testOutput.path, "-Yopt:l:classpath", "-Yopt-inline-heuristics:everything", "-Yopt-warnings:_"))(code) + compileString(newCompiler("-cp", classpath, "-d", testOutput.path, "-opt:l:classpath", "-Yopt-inline-heuristics:everything", "-opt-warnings:_"))(code) } def show(): Unit = { |