summaryrefslogtreecommitdiff
path: root/test/files/neg
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2004-02-01 03:15:00 +0000
committerpaltherr <paltherr@epfl.ch>2004-02-01 03:15:00 +0000
commite4731931589d6313988337a921747f9caf6fc3e7 (patch)
tree92c7298118201c435ef42d99d6b6d6c00a70c64a /test/files/neg
parentc9e045f5c67d44313e9e2436ec107e514548272e (diff)
downloadscala-e4731931589d6313988337a921747f9caf6fc3e7.tar.gz
scala-e4731931589d6313988337a921747f9caf6fc3e7.tar.bz2
scala-e4731931589d6313988337a921747f9caf6fc3e7.zip
- Generalized use of AConstant to represent con...
- Generalized use of AConstant to represent constant values
Diffstat (limited to 'test/files/neg')
-rw-r--r--test/files/neg/bug45.check2
-rw-r--r--test/files/neg/constrparams.check2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/bug45.check b/test/files/neg/bug45.check
index 530bd78c42..fe8d97ec16 100644
--- a/test/files/neg/bug45.check
+++ b/test/files/neg/bug45.check
@@ -1,5 +1,5 @@
bug45.scala:4: type mismatch;
- found : scala.AllRef
+ found : scala.AllRef(null)
required: Int
def foo[Int](x: Int): Int = null;
^
diff --git a/test/files/neg/constrparams.check b/test/files/neg/constrparams.check
index 6aef035af0..6e7ec7671e 100644
--- a/test/files/neg/constrparams.check
+++ b/test/files/neg/constrparams.check
@@ -1,5 +1,5 @@
constrparams.scala:4: type mismatch;
- found : scala.AllRef
+ found : scala.AllRef(null)
required: x.t
private val z: x.t = null; //error
^