blob: 3536c42381339fa15d833130c23615943707aa9e (
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
|
Type in expressions to have them evaluated.
Type :help for more information.
scala> :silent
Switched off result printing.
scala> class A { override def toString() = { println("!"); "A" } }
scala> val a = new A
scala> var b: A = new A
scala> b = new A
scala> new A
scala> :silent
Switched on result printing.
scala> res0
!
res1: A = A
scala>
|