blob: cd7a2905e2a696ec0d7e88487ec2f15271351b37 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
Type in expressions to have them evaluated.
Type :help for more information.
scala>
scala> @deprecated("foooo", "ReplTest version 1.0-FINAL") class Foo() {
override def toString = "Bippy"
}
defined class Foo
scala> val f = new Foo
<console>:8: warning: class Foo is deprecated: foooo
val f = new Foo
^
<console>:8: warning: class Foo is deprecated: foooo
val f = new Foo
^
f: Foo = Bippy
scala>
scala>
|