summaryrefslogtreecommitdiff
path: root/test/files/run/t6646.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-03-13 16:09:32 -0700
committerPaul Phillips <paulp@improving.org>2013-03-13 16:09:32 -0700
commit3fe7b8c0a8c86b38d010f37887092ce665f08df2 (patch)
tree38c90a7ffc3ded7dd13900a25bedc9b363855c30 /test/files/run/t6646.scala
parenta4c338888f4364dfd44989acd12cb72daf639081 (diff)
downloadscala-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/run/t6646.scala')
-rw-r--r--test/files/run/t6646.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/t6646.scala b/test/files/run/t6646.scala
index 150b0df11e..a377ac274e 100644
--- a/test/files/run/t6646.scala
+++ b/test/files/run/t6646.scala
@@ -1,14 +1,14 @@
sealed trait ColumnOption
-case object NotNull extends ColumnOption
+case object NoNull extends ColumnOption
case object PrimaryKey extends ColumnOption
case object lower extends ColumnOption
object Test {
def main(args: Array[String]) {
- val l = List(PrimaryKey, NotNull, lower)
+ val l = List(PrimaryKey, NoNull, lower)
// withFilter must be generated in these
- for (option @ NotNull <- l) println("Found " + option)
+ for (option @ NoNull <- l) println("Found " + option)
for (option @ `lower` <- l) println("Found " + option)
for ((`lower`, i) <- l.zipWithIndex) println("Found " + i)