summaryrefslogtreecommitdiff
path: root/test/files/cli/test3/Main.check.scalaint
blob: 4343b29a09557f0f2a67cccd2fd45541449fc122 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
unknown option: '-cpp'
scala [ <option> ]... [<torun> <arguments>]

All options to scalac are allowed.  See scalac -help.

<torun>, if present, is an object or script file to run.
If no <torun> is present, run an interactive interpreter.

Option -howtorun allows explicitly specifying how to run <torun>:
    script: it is a script file
    object: it is an object name
    guess: (the default) try to guess

Option -savecompiled requests that the compiled script be saved
for future use.

Option -nocompdaemon requests that the fsc offline compiler not be used.

Option -Dproperty=value sets a Java system property.


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 (1)
3: 2: 1: test 1 passed (1)
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 (1)
3: 2: 1: test 2 passed (1)
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 (1)
3: 2: 1: test 3 passed (1)
line0: scala.Unit = ()

scala>