From 315ba402be1881e1c5ec812ffb14aa42c254e167 Mon Sep 17 00:00:00 2001 From: michelou Date: Fri, 31 Mar 2006 17:30:26 +0000 Subject: added more functionality to test/clitest corrected bug in file scala/concurrent/pilib.scala --- test/files/cli/test3/Main.check.scalaint | 84 ++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 test/files/cli/test3/Main.check.scalaint (limited to 'test/files/cli/test3/Main.check.scalaint') diff --git a/test/files/cli/test3/Main.check.scalaint b/test/files/cli/test3/Main.check.scalaint new file mode 100644 index 0000000000..9b5d479db0 --- /dev/null +++ b/test/files/cli/test3/Main.check.scalaint @@ -0,0 +1,84 @@ +scalaint: unknown option: '-cpp' +Usage: scalaint +where possible options include: + -doc Generate documentation + -g Generate debugging info + -nowarn Generate no warnings + -noassert Generate no assertions and assumptions + -verbose Output messages about what the compiler is doing + -classpath Specify where to find user class files + -sourcepath Specify where to find input source files + -bootclasspath Override location of bootstrap class files + -extdirs Override location of installed extensions + -d Specify where to place generated class files + -encoding Specify character encoding used by source files + -target: Specify which backend to use (jvm,msil) + -migrate Assist in migrating from Scala version 1.0 + -debug Output debugging messages + -statistics Print compiler statistics + -explaintypes Explain type errors in more detail + -resident Compiler stays resident, files to compile are read from standard input + -uniqid Print identifiers with unique names (debugging option) + -printtypes Print tree types (debugging option) + -prompt Display a prompt after each error (debugging option) + -noimports Compile without any implicit imports + -nopredefs Compile without any implicit predefined values + -skip: Skip + -check: Check the tree at start of + -print: Print out program after + -printer: Printer to use (text,html) + -printfile Specify file in which to print trees + -graph: Graph the program after + -browse: Browse the abstract syntax tree after + -stop: Stop after phase + -log: Log operations in + -version Print product version and exit + -help Print a synopsis of standard options + -Xinline Perform inlining when possible + -Xshowcls Show class info + -Xshowobj Show object info + -Xshowicode Print the generated ICode + -Xgadt enable gadt for classes + -Xlinearizer: Linearizer to use (normal,dfs,rpo) + -Xgenerics Use generic Java types + + +This is an interpreter for Scala. +Type in expressions to have them evaluated. +Type :quit to exit the interpreter. +Type :compile followed by a filename to compile a complete Scala file. +Type :load followed by a filename to load a sequence of interpreter commands. +Type :replay to reset execution and replay all previous commands. +Type :help to repeat this message later. + +scala> 3: 1: test 1 passed +3: 2: 1: test 1 passed +line0: scala.Unit = () + +scala> +This is an interpreter for Scala. +Type in expressions to have them evaluated. +Type :quit to exit the interpreter. +Type :compile followed by a filename to compile a complete Scala file. +Type :load followed by a filename to load a sequence of interpreter commands. +Type :replay to reset execution and replay all previous commands. +Type :help to repeat this message later. + +scala> 3: 1: test 2 passed +3: 2: 1: test 2 passed +line0: scala.Unit = () + +scala> +This is an interpreter for Scala. +Type in expressions to have them evaluated. +Type :quit to exit the interpreter. +Type :compile followed by a filename to compile a complete Scala file. +Type :load followed by a filename to load a sequence of interpreter commands. +Type :replay to reset execution and replay all previous commands. +Type :help to repeat this message later. + +scala> 3: 1: test 3 passed +3: 2: 1: test 3 passed +line0: scala.Unit = () + +scala> -- cgit v1.2.3