From e4731931589d6313988337a921747f9caf6fc3e7 Mon Sep 17 00:00:00 2001 From: paltherr Date: Sun, 1 Feb 2004 03:15:00 +0000 Subject: - Generalized use of AConstant to represent con... - Generalized use of AConstant to represent constant values --- test/files/neg/bug45.check | 2 +- test/files/neg/constrparams.check | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test/files/neg') 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 ^ -- cgit v1.2.3