diff options
author | paltherr <paltherr@epfl.ch> | 2004-02-01 03:15:00 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-02-01 03:15:00 +0000 |
commit | e4731931589d6313988337a921747f9caf6fc3e7 (patch) | |
tree | 92c7298118201c435ef42d99d6b6d6c00a70c64a /test | |
parent | c9e045f5c67d44313e9e2436ec107e514548272e (diff) | |
download | scala-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')
-rw-r--r-- | test/files/neg/bug45.check | 2 | ||||
-rw-r--r-- | test/files/neg/constrparams.check | 2 | ||||
-rw-r--r-- | test/files/shl/basic.check | 6 |
3 files changed, 5 insertions, 5 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 ^ diff --git a/test/files/shl/basic.check b/test/files/shl/basic.check index bee7e5192d..2a4cd09b49 100644 --- a/test/files/shl/basic.check +++ b/test/files/shl/basic.check @@ -1,12 +1,12 @@ > > > > > > (): scala.Unit > false: scala.Boolean(false) -> 1: scala.Char(1) +> 1: scala.Char('1') > 2: scala.Int(2) > 3: scala.Long(3) > 4.0: scala.Float(4.0) > 5.0: scala.Double(5.0) -> null: scala.AllRef -> hello: java.lang.String(hello) +> null: scala.AllRef(null) +> hello: java.lang.String("hello") > List(): scala.Nil > List(1,2,3): scala.List[scala.Int] > > Exception in thread "main" java.lang.Error: error |