summaryrefslogtreecommitdiff
path: root/test/files/cli
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/cli')
-rw-r--r--test/files/cli/test1/Main.check.j9vm54
-rw-r--r--test/files/cli/test1/Main.check.jikes3
-rw-r--r--test/files/cli/test1/Main.check.scalac86
-rw-r--r--test/files/cli/test1/Main.check.scalaint82
-rw-r--r--test/files/cli/test2/Main.check.j9vm54
-rw-r--r--test/files/cli/test2/Main.check.jikes9
-rw-r--r--test/files/cli/test2/Main.check.scalac86
-rw-r--r--test/files/cli/test2/Main.check.scalaint82
-rw-r--r--test/files/cli/test3/Main.check.j9vm55
-rw-r--r--test/files/cli/test3/Main.check.jikes14
-rw-r--r--test/files/cli/test3/Main.check.scalac86
-rw-r--r--test/files/cli/test3/Main.check.scalaint82
12 files changed, 297 insertions, 246 deletions
diff --git a/test/files/cli/test1/Main.check.j9vm5 b/test/files/cli/test1/Main.check.j9vm5
new file mode 100644
index 0000000000..de454ef478
--- /dev/null
+++ b/test/files/cli/test1/Main.check.j9vm5
@@ -0,0 +1,4 @@
+env: -cpp: No such file or directory
+env: test1.Main: No such file or directory
+env: -cp: No such file or directory
+1: test 3 passed
diff --git a/test/files/cli/test1/Main.check.jikes b/test/files/cli/test1/Main.check.jikes
new file mode 100644
index 0000000000..cd891689db
--- /dev/null
+++ b/test/files/cli/test1/Main.check.jikes
@@ -0,0 +1,3 @@
+Error: "-dd" is an invalid option.
+use: jikes [options] [@files] file.java...
+For more help, try -help or -version.
diff --git a/test/files/cli/test1/Main.check.scalac b/test/files/cli/test1/Main.check.scalac
index 42ef754181..3f3244da74 100644
--- a/test/files/cli/test1/Main.check.scalac
+++ b/test/files/cli/test1/Main.check.scalac
@@ -1,46 +1,48 @@
-scalac error: unknown option: '-dd'
- scalac -help gives more information
+Scala compiler error: unknown option: '-dd'
+ Scala compiler -help gives more information
Usage: scalac <options | source files>
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 <path> Specify where to find user class files
- -sourcepath <path> Specify where to find input source files
- -bootclasspath <path> Override location of bootstrap class files
- -extdirs <dirs> Override location of installed extensions
- -d <directory> Specify where to place generated class files
- -encoding <encoding> Specify character encoding used by source files
- -target:<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:<phase> Skip <phase>
- -check:<phase> Check the tree at start of <phase>
- -print:<phase> Print out program after <phase>
- -printer:<printer> Printer to use (text,html)
- -printfile <file> Specify file in which to print trees
- -graph:<phase> Graph the program after <phase>
- -browse:<phase> Browse the abstract syntax tree after <phase>
- -stop:<phase> Stop after phase <phase>
- -log:<phase> Log operations in <phase>
- -version Print product version and exit
- -help Print a synopsis of standard options
- -Xinline Perform inlining when possible
- -Xshowcls <class> Show class info
- -Xshowobj <object> Show object info
- -Xshowicode Print the generated ICode
- -Xgadt enable gadt for classes
- -Xlinearizer:<Xlinearizer> Linearizer to use (normal,dfs,rpo)
- -Xgenerics Use generic Java types
+ -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 <path> Specify where to find user class files
+ -sourcepath <path> Specify where to find input source files
+ -bootclasspath <path> Override location of bootstrap class files
+ -extdirs <dirs> Override location of installed extensions
+ -d <directory> Specify where to place generated class files
+ -encoding <encoding> Specify character encoding used by source files
+ -windowtitle <windowtitle> Specify window title of generated HTML documentation
+ -documenttitle <documenttitle> Specify document title of generated HTML documentation
+ -target:<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:<phase> Skip <phase>
+ -check:<phase> Check the tree at start of <phase>
+ -print:<phase> Print out program after <phase>
+ -printer:<printer> Printer to use (text,html)
+ -printfile <file> Specify file in which to print trees
+ -graph:<phase> Graph the program after <phase>
+ -browse:<phase> Browse the abstract syntax tree after <phase>
+ -stop:<phase> Stop after phase <phase>
+ -log:<phase> Log operations in <phase>
+ -version Print product version and exit
+ -help Print a synopsis of standard options
+ -Xinline Perform inlining when possible
+ -Xshowcls <class> Show class info
+ -Xshowobj <object> Show object info
+ -Xshowicode Print the generated ICode
+ -Xgadt enable gadt for classes
+ -Xlinearizer:<Xlinearizer> Linearizer to use (normal,dfs,rpo)
+ -Xgenerics Use generic Java types
one error found
diff --git a/test/files/cli/test1/Main.check.scalaint b/test/files/cli/test1/Main.check.scalaint
index 99224cae31..f19606ede5 100644
--- a/test/files/cli/test1/Main.check.scalaint
+++ b/test/files/cli/test1/Main.check.scalaint
@@ -1,46 +1,48 @@
scalaint: unknown option: '-cpp'
Usage: scalaint <options | source files>
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 <path> Specify where to find user class files
- -sourcepath <path> Specify where to find input source files
- -bootclasspath <path> Override location of bootstrap class files
- -extdirs <dirs> Override location of installed extensions
- -d <directory> Specify where to place generated class files
- -encoding <encoding> Specify character encoding used by source files
- -target:<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:<phase> Skip <phase>
- -check:<phase> Check the tree at start of <phase>
- -print:<phase> Print out program after <phase>
- -printer:<printer> Printer to use (text,html)
- -printfile <file> Specify file in which to print trees
- -graph:<phase> Graph the program after <phase>
- -browse:<phase> Browse the abstract syntax tree after <phase>
- -stop:<phase> Stop after phase <phase>
- -log:<phase> Log operations in <phase>
- -version Print product version and exit
- -help Print a synopsis of standard options
- -Xinline Perform inlining when possible
- -Xshowcls <class> Show class info
- -Xshowobj <object> Show object info
- -Xshowicode Print the generated ICode
- -Xgadt enable gadt for classes
- -Xlinearizer:<Xlinearizer> Linearizer to use (normal,dfs,rpo)
- -Xgenerics Use generic Java types
+ -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 <path> Specify where to find user class files
+ -sourcepath <path> Specify where to find input source files
+ -bootclasspath <path> Override location of bootstrap class files
+ -extdirs <dirs> Override location of installed extensions
+ -d <directory> Specify where to place generated class files
+ -encoding <encoding> Specify character encoding used by source files
+ -windowtitle <windowtitle> Specify window title of generated HTML documentation
+ -documenttitle <documenttitle> Specify document title of generated HTML documentation
+ -target:<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:<phase> Skip <phase>
+ -check:<phase> Check the tree at start of <phase>
+ -print:<phase> Print out program after <phase>
+ -printer:<printer> Printer to use (text,html)
+ -printfile <file> Specify file in which to print trees
+ -graph:<phase> Graph the program after <phase>
+ -browse:<phase> Browse the abstract syntax tree after <phase>
+ -stop:<phase> Stop after phase <phase>
+ -log:<phase> Log operations in <phase>
+ -version Print product version and exit
+ -help Print a synopsis of standard options
+ -Xinline Perform inlining when possible
+ -Xshowcls <class> Show class info
+ -Xshowobj <object> Show object info
+ -Xshowicode Print the generated ICode
+ -Xgadt enable gadt for classes
+ -Xlinearizer:<Xlinearizer> Linearizer to use (normal,dfs,rpo)
+ -Xgenerics Use generic Java types
This is an interpreter for Scala.
diff --git a/test/files/cli/test2/Main.check.j9vm5 b/test/files/cli/test2/Main.check.j9vm5
new file mode 100644
index 0000000000..8f4fdf8aa1
--- /dev/null
+++ b/test/files/cli/test2/Main.check.j9vm5
@@ -0,0 +1,4 @@
+env: -cpp: No such file or directory
+env: test2.Main: No such file or directory
+env: -cp: No such file or directory
+2: 1: test 3 passed
diff --git a/test/files/cli/test2/Main.check.jikes b/test/files/cli/test2/Main.check.jikes
new file mode 100644
index 0000000000..44131b22c2
--- /dev/null
+++ b/test/files/cli/test2/Main.check.jikes
@@ -0,0 +1,9 @@
+Error: "-dd" is an invalid option.
+use: jikes [options] [@files] file.java...
+For more help, try -help or -version.
+
+Found 1 semantic error compiling "files/cli/test2/Main.java":
+
+ 5. test1.Main.main(args);
+ ^---^
+*** Semantic Error: No accessible field named "test1" was found in type "test2.Main".
diff --git a/test/files/cli/test2/Main.check.scalac b/test/files/cli/test2/Main.check.scalac
index 2cf40d5de8..ab0b5c66da 100644
--- a/test/files/cli/test2/Main.check.scalac
+++ b/test/files/cli/test2/Main.check.scalac
@@ -1,47 +1,49 @@
-scalac error: unknown option: '-dd'
- scalac -help gives more information
+Scala compiler error: unknown option: '-dd'
+ Scala compiler -help gives more information
Usage: scalac <options | source files>
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 <path> Specify where to find user class files
- -sourcepath <path> Specify where to find input source files
- -bootclasspath <path> Override location of bootstrap class files
- -extdirs <dirs> Override location of installed extensions
- -d <directory> Specify where to place generated class files
- -encoding <encoding> Specify character encoding used by source files
- -target:<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:<phase> Skip <phase>
- -check:<phase> Check the tree at start of <phase>
- -print:<phase> Print out program after <phase>
- -printer:<printer> Printer to use (text,html)
- -printfile <file> Specify file in which to print trees
- -graph:<phase> Graph the program after <phase>
- -browse:<phase> Browse the abstract syntax tree after <phase>
- -stop:<phase> Stop after phase <phase>
- -log:<phase> Log operations in <phase>
- -version Print product version and exit
- -help Print a synopsis of standard options
- -Xinline Perform inlining when possible
- -Xshowcls <class> Show class info
- -Xshowobj <object> Show object info
- -Xshowicode Print the generated ICode
- -Xgadt enable gadt for classes
- -Xlinearizer:<Xlinearizer> Linearizer to use (normal,dfs,rpo)
- -Xgenerics Use generic Java types
+ -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 <path> Specify where to find user class files
+ -sourcepath <path> Specify where to find input source files
+ -bootclasspath <path> Override location of bootstrap class files
+ -extdirs <dirs> Override location of installed extensions
+ -d <directory> Specify where to place generated class files
+ -encoding <encoding> Specify character encoding used by source files
+ -windowtitle <windowtitle> Specify window title of generated HTML documentation
+ -documenttitle <documenttitle> Specify document title of generated HTML documentation
+ -target:<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:<phase> Skip <phase>
+ -check:<phase> Check the tree at start of <phase>
+ -print:<phase> Print out program after <phase>
+ -printer:<printer> Printer to use (text,html)
+ -printfile <file> Specify file in which to print trees
+ -graph:<phase> Graph the program after <phase>
+ -browse:<phase> Browse the abstract syntax tree after <phase>
+ -stop:<phase> Stop after phase <phase>
+ -log:<phase> Log operations in <phase>
+ -version Print product version and exit
+ -help Print a synopsis of standard options
+ -Xinline Perform inlining when possible
+ -Xshowcls <class> Show class info
+ -Xshowobj <object> Show object info
+ -Xshowicode Print the generated ICode
+ -Xgadt enable gadt for classes
+ -Xlinearizer:<Xlinearizer> Linearizer to use (normal,dfs,rpo)
+ -Xgenerics Use generic Java types
one error found
files/cli/test2/Main.scala:5 error: not found: value test1
diff --git a/test/files/cli/test2/Main.check.scalaint b/test/files/cli/test2/Main.check.scalaint
index 2719b50b7d..69bc170c4c 100644
--- a/test/files/cli/test2/Main.check.scalaint
+++ b/test/files/cli/test2/Main.check.scalaint
@@ -1,46 +1,48 @@
scalaint: unknown option: '-cpp'
Usage: scalaint <options | source files>
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 <path> Specify where to find user class files
- -sourcepath <path> Specify where to find input source files
- -bootclasspath <path> Override location of bootstrap class files
- -extdirs <dirs> Override location of installed extensions
- -d <directory> Specify where to place generated class files
- -encoding <encoding> Specify character encoding used by source files
- -target:<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:<phase> Skip <phase>
- -check:<phase> Check the tree at start of <phase>
- -print:<phase> Print out program after <phase>
- -printer:<printer> Printer to use (text,html)
- -printfile <file> Specify file in which to print trees
- -graph:<phase> Graph the program after <phase>
- -browse:<phase> Browse the abstract syntax tree after <phase>
- -stop:<phase> Stop after phase <phase>
- -log:<phase> Log operations in <phase>
- -version Print product version and exit
- -help Print a synopsis of standard options
- -Xinline Perform inlining when possible
- -Xshowcls <class> Show class info
- -Xshowobj <object> Show object info
- -Xshowicode Print the generated ICode
- -Xgadt enable gadt for classes
- -Xlinearizer:<Xlinearizer> Linearizer to use (normal,dfs,rpo)
- -Xgenerics Use generic Java types
+ -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 <path> Specify where to find user class files
+ -sourcepath <path> Specify where to find input source files
+ -bootclasspath <path> Override location of bootstrap class files
+ -extdirs <dirs> Override location of installed extensions
+ -d <directory> Specify where to place generated class files
+ -encoding <encoding> Specify character encoding used by source files
+ -windowtitle <windowtitle> Specify window title of generated HTML documentation
+ -documenttitle <documenttitle> Specify document title of generated HTML documentation
+ -target:<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:<phase> Skip <phase>
+ -check:<phase> Check the tree at start of <phase>
+ -print:<phase> Print out program after <phase>
+ -printer:<printer> Printer to use (text,html)
+ -printfile <file> Specify file in which to print trees
+ -graph:<phase> Graph the program after <phase>
+ -browse:<phase> Browse the abstract syntax tree after <phase>
+ -stop:<phase> Stop after phase <phase>
+ -log:<phase> Log operations in <phase>
+ -version Print product version and exit
+ -help Print a synopsis of standard options
+ -Xinline Perform inlining when possible
+ -Xshowcls <class> Show class info
+ -Xshowobj <object> Show object info
+ -Xshowicode Print the generated ICode
+ -Xgadt enable gadt for classes
+ -Xlinearizer:<Xlinearizer> Linearizer to use (normal,dfs,rpo)
+ -Xgenerics Use generic Java types
This is an interpreter for Scala.
diff --git a/test/files/cli/test3/Main.check.j9vm5 b/test/files/cli/test3/Main.check.j9vm5
new file mode 100644
index 0000000000..a094dc8daf
--- /dev/null
+++ b/test/files/cli/test3/Main.check.j9vm5
@@ -0,0 +1,5 @@
+env: -cpp: No such file or directory
+env: test3.Main: No such file or directory
+env: -cp: No such file or directory
+3: 1: test 3 passed
+3: 2: 1: test 3 passed
diff --git a/test/files/cli/test3/Main.check.jikes b/test/files/cli/test3/Main.check.jikes
new file mode 100644
index 0000000000..d183a014d9
--- /dev/null
+++ b/test/files/cli/test3/Main.check.jikes
@@ -0,0 +1,14 @@
+Error: "-dd" is an invalid option.
+use: jikes [options] [@files] file.java...
+For more help, try -help or -version.
+
+Found 2 semantic errors compiling "files/cli/test3/Main.java":
+
+ 5. test1.Main.main(args);
+ ^---^
+*** Semantic Error: No accessible field named "test1" was found in type "test3.Main".
+
+
+ 7. test2.Main.main(args);
+ ^---^
+*** Semantic Error: No accessible field named "test2" was found in type "test3.Main".
diff --git a/test/files/cli/test3/Main.check.scalac b/test/files/cli/test3/Main.check.scalac
index 71d2ab1cbd..ddddcb3d9a 100644
--- a/test/files/cli/test3/Main.check.scalac
+++ b/test/files/cli/test3/Main.check.scalac
@@ -1,47 +1,49 @@
-scalac error: unknown option: '-dd'
- scalac -help gives more information
+Scala compiler error: unknown option: '-dd'
+ Scala compiler -help gives more information
Usage: scalac <options | source files>
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 <path> Specify where to find user class files
- -sourcepath <path> Specify where to find input source files
- -bootclasspath <path> Override location of bootstrap class files
- -extdirs <dirs> Override location of installed extensions
- -d <directory> Specify where to place generated class files
- -encoding <encoding> Specify character encoding used by source files
- -target:<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:<phase> Skip <phase>
- -check:<phase> Check the tree at start of <phase>
- -print:<phase> Print out program after <phase>
- -printer:<printer> Printer to use (text,html)
- -printfile <file> Specify file in which to print trees
- -graph:<phase> Graph the program after <phase>
- -browse:<phase> Browse the abstract syntax tree after <phase>
- -stop:<phase> Stop after phase <phase>
- -log:<phase> Log operations in <phase>
- -version Print product version and exit
- -help Print a synopsis of standard options
- -Xinline Perform inlining when possible
- -Xshowcls <class> Show class info
- -Xshowobj <object> Show object info
- -Xshowicode Print the generated ICode
- -Xgadt enable gadt for classes
- -Xlinearizer:<Xlinearizer> Linearizer to use (normal,dfs,rpo)
- -Xgenerics Use generic Java types
+ -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 <path> Specify where to find user class files
+ -sourcepath <path> Specify where to find input source files
+ -bootclasspath <path> Override location of bootstrap class files
+ -extdirs <dirs> Override location of installed extensions
+ -d <directory> Specify where to place generated class files
+ -encoding <encoding> Specify character encoding used by source files
+ -windowtitle <windowtitle> Specify window title of generated HTML documentation
+ -documenttitle <documenttitle> Specify document title of generated HTML documentation
+ -target:<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:<phase> Skip <phase>
+ -check:<phase> Check the tree at start of <phase>
+ -print:<phase> Print out program after <phase>
+ -printer:<printer> Printer to use (text,html)
+ -printfile <file> Specify file in which to print trees
+ -graph:<phase> Graph the program after <phase>
+ -browse:<phase> Browse the abstract syntax tree after <phase>
+ -stop:<phase> Stop after phase <phase>
+ -log:<phase> Log operations in <phase>
+ -version Print product version and exit
+ -help Print a synopsis of standard options
+ -Xinline Perform inlining when possible
+ -Xshowcls <class> Show class info
+ -Xshowobj <object> Show object info
+ -Xshowicode Print the generated ICode
+ -Xgadt enable gadt for classes
+ -Xlinearizer:<Xlinearizer> Linearizer to use (normal,dfs,rpo)
+ -Xgenerics Use generic Java types
one error found
files/cli/test3/Main.scala:5 error: not found: value test1
diff --git a/test/files/cli/test3/Main.check.scalaint b/test/files/cli/test3/Main.check.scalaint
index 9b5d479db0..2fdf9c927a 100644
--- a/test/files/cli/test3/Main.check.scalaint
+++ b/test/files/cli/test3/Main.check.scalaint
@@ -1,46 +1,48 @@
scalaint: unknown option: '-cpp'
Usage: scalaint <options | source files>
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 <path> Specify where to find user class files
- -sourcepath <path> Specify where to find input source files
- -bootclasspath <path> Override location of bootstrap class files
- -extdirs <dirs> Override location of installed extensions
- -d <directory> Specify where to place generated class files
- -encoding <encoding> Specify character encoding used by source files
- -target:<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:<phase> Skip <phase>
- -check:<phase> Check the tree at start of <phase>
- -print:<phase> Print out program after <phase>
- -printer:<printer> Printer to use (text,html)
- -printfile <file> Specify file in which to print trees
- -graph:<phase> Graph the program after <phase>
- -browse:<phase> Browse the abstract syntax tree after <phase>
- -stop:<phase> Stop after phase <phase>
- -log:<phase> Log operations in <phase>
- -version Print product version and exit
- -help Print a synopsis of standard options
- -Xinline Perform inlining when possible
- -Xshowcls <class> Show class info
- -Xshowobj <object> Show object info
- -Xshowicode Print the generated ICode
- -Xgadt enable gadt for classes
- -Xlinearizer:<Xlinearizer> Linearizer to use (normal,dfs,rpo)
- -Xgenerics Use generic Java types
+ -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 <path> Specify where to find user class files
+ -sourcepath <path> Specify where to find input source files
+ -bootclasspath <path> Override location of bootstrap class files
+ -extdirs <dirs> Override location of installed extensions
+ -d <directory> Specify where to place generated class files
+ -encoding <encoding> Specify character encoding used by source files
+ -windowtitle <windowtitle> Specify window title of generated HTML documentation
+ -documenttitle <documenttitle> Specify document title of generated HTML documentation
+ -target:<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:<phase> Skip <phase>
+ -check:<phase> Check the tree at start of <phase>
+ -print:<phase> Print out program after <phase>
+ -printer:<printer> Printer to use (text,html)
+ -printfile <file> Specify file in which to print trees
+ -graph:<phase> Graph the program after <phase>
+ -browse:<phase> Browse the abstract syntax tree after <phase>
+ -stop:<phase> Stop after phase <phase>
+ -log:<phase> Log operations in <phase>
+ -version Print product version and exit
+ -help Print a synopsis of standard options
+ -Xinline Perform inlining when possible
+ -Xshowcls <class> Show class info
+ -Xshowobj <object> Show object info
+ -Xshowicode Print the generated ICode
+ -Xgadt enable gadt for classes
+ -Xlinearizer:<Xlinearizer> Linearizer to use (normal,dfs,rpo)
+ -Xgenerics Use generic Java types
This is an interpreter for Scala.