File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ package scala
26
26
* @author Matthias Zenger
27
27
* @since 1.0
28
28
*/
29
+ @ deprecated(" Explicitly override hashCode, equals and toString instead." , " 2.13.0" )
29
30
trait Proxy extends Any {
30
31
def self : Any
31
32
@@ -39,9 +40,11 @@ trait Proxy extends Any {
39
40
override def toString = " " + self
40
41
}
41
42
43
+ @ deprecated(" All members of this object are deprecated." , " 2.13.0" )
42
44
object Proxy {
43
45
/** A proxy which exposes the type it is proxying for via a type parameter.
44
46
*/
47
+ @ deprecated(" Explicitly override hashCode, equals and toString instead." , " 2.13.0" )
45
48
trait Typed [T ] extends Any with Proxy {
46
49
def self : T
47
50
}
Original file line number Diff line number Diff line change
1
+ warning: there were two deprecation warnings (since 2.13.0); re-run with -deprecation for details
1
2
false
2
3
true
3
4
false
You can’t perform that action at this time.
0 commit comments