diff options
author | michelou <michelou@epfl.ch> | 2007-04-12 13:41:27 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2007-04-12 13:41:27 +0000 |
commit | 34856ebaeccf44adace4dba8c44ba2155e231b83 (patch) | |
tree | 442d3982a13336fbfb742779e34cf271adcf2ea6 /test/files/cli/test1 | |
parent | ef8581a8f1d11f92abcac4bc27bcdf6f0eaeed43 (diff) | |
download | scala-34856ebaeccf44adace4dba8c44ba2155e231b83.tar.gz scala-34856ebaeccf44adace4dba8c44ba2155e231b83.tar.bz2 scala-34856ebaeccf44adace4dba8c44ba2155e231b83.zip |
updated ant and cli tests
Diffstat (limited to 'test/files/cli/test1')
-rw-r--r-- | test/files/cli/test1/Main.check.scalac | 11 | ||||
-rw-r--r-- | test/files/cli/test1/Main.check.scalaint | 6 |
2 files changed, 10 insertions, 7 deletions
diff --git a/test/files/cli/test1/Main.check.scalac b/test/files/cli/test1/Main.check.scalac index a3c0d101fe..22020d918d 100644 --- a/test/files/cli/test1/Main.check.scalac +++ b/test/files/cli/test1/Main.check.scalac @@ -1,5 +1,5 @@ -Scala compiler error: bad option: '-dd' - Scala compiler -help gives more information +scalac error: bad option: '-dd' + scalac -help gives more information Usage: scalac <options | source files> where possible options include: -doc Generate documentation @@ -17,6 +17,8 @@ where possible options include: -documenttitle <documenttitle> Specify document title of generated HTML documentation -target:<target> Specify which backend to use (jvm-1.5,jvm-1.4,msil,cldc) -migrate Assist in migrating from Scala version 1.0 + -o <file> Name of the output assembly (only relevant with -target:msil) + -r <path> List of assemblies referenced by the program (only relevant with -target:msil) -debug Output debugging messages -deprecation enable detailed deprecation warnings -unchecked enable detailed unchecked warnings @@ -37,12 +39,15 @@ where possible options include: -browse:<phase> Browse the abstract syntax tree after <phase> -stop:<phase> Stop after phase <phase> -log:<phase> Log operations in <phase> + -logall Log all operations -version Print product version and exit -help Print a synopsis of standard options -nouescape disables handling of \u unicode escapes -Xinline Perform inlining when possible + -XO Optimize. implies -Xinline, -Xcloselim and -Xdce -Xcloselim Perform closure elimination -Xdce Perform dead code elimination + -Xwarndeadcode Emit warnings for dead code -XbytecodeRead Enable bytecode reader. -Xdetach Perform detaching of remote closures -Xshowcls <class> Show class info @@ -52,9 +57,7 @@ where possible options include: -Xprintpos Print tree positions (as offsets) -Xscript compile script file -Xexperimental enable experimental extensions - -Xunapply enable unapply pattern matching -Xplugtypes parse but ignore annotations in more locations -Xkilloption optimizes option types - -XprintOuterMatches prints outer-checks caused by pattern matching one error found diff --git a/test/files/cli/test1/Main.check.scalaint b/test/files/cli/test1/Main.check.scalaint index 073d45354e..88345d1874 100644 --- a/test/files/cli/test1/Main.check.scalaint +++ b/test/files/cli/test1/Main.check.scalaint @@ -24,7 +24,7 @@ Type in expressions to have them evaluated. Type :help for more information. scala> 1: test 1 passed (1) -line0: scala.Unit = {} +unnamed0: scala.Unit = () scala> This is an interpreter for Scala. @@ -32,7 +32,7 @@ Type in expressions to have them evaluated. Type :help for more information. scala> 1: test 2 passed (1) -line0: scala.Unit = {} +unnamed0: scala.Unit = () scala> This is an interpreter for Scala. @@ -40,6 +40,6 @@ Type in expressions to have them evaluated. Type :help for more information. scala> 1: test 3 passed (1) -line0: scala.Unit = {} +unnamed0: scala.Unit = () scala> |