diff options
author | Paul Phillips <paulp@improving.org> | 2013-03-13 16:09:32 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-03-13 16:09:32 -0700 |
commit | 3fe7b8c0a8c86b38d010f37887092ce665f08df2 (patch) | |
tree | 38c90a7ffc3ded7dd13900a25bedc9b363855c30 /test/files/neg/t0764.scala | |
parent | a4c338888f4364dfd44989acd12cb72daf639081 (diff) | |
download | scala-3fe7b8c0a8c86b38d010f37887092ce665f08df2.tar.gz scala-3fe7b8c0a8c86b38d010f37887092ce665f08df2.tar.bz2 scala-3fe7b8c0a8c86b38d010f37887092ce665f08df2.zip |
SI-7247, deprecated NotNull.
Removed NotNull from tests and the parentage of AnyVal.
Removed the tests which were actually testing anything to
do with NotNull; massaged the others to forget NotNull and/or
not to name local things NotNull.
Diffstat (limited to 'test/files/neg/t0764.scala')
-rw-r--r-- | test/files/neg/t0764.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/t0764.scala b/test/files/neg/t0764.scala index 9aebe04b79..f2cc65cf7d 100644 --- a/test/files/neg/t0764.scala +++ b/test/files/neg/t0764.scala @@ -2,13 +2,13 @@ class Top[A] { type AType = A } -trait Node extends NotNull { outer => +trait Node { outer => type T <: Node def prepend = new Node { type T = outer.type } } class Main[NextType <: Node](value: Node { type T = NextType }) extends Top[Node { type T = NextType }] { - + new Main[AType]( (value: AType).prepend ) } |