From 458adadcaf6e89f1cd876fe58cffc1343936d66d Mon Sep 17 00:00:00 2001 From: Gilles Dubochet Date: Wed, 6 Jun 2007 18:04:53 +0000 Subject: The AST “Literal(Constant(t))” for t a value ty... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The AST “Literal(Constant(t))” for t a value type (int et al.) compiles consistently accross compilation targets. --- test/files/run/structural.check | 2 +- test/files/run/structural.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/files/run/structural.check b/test/files/run/structural.check index 4d1b20c40c..51fc44fe36 100644 --- a/test/files/run/structural.check +++ b/test/files/run/structural.check @@ -15,7 +15,7 @@ 16. one 17. tieone 18. 2 -19. 20432397 +19. true 20. 1 21. () 22. one diff --git a/test/files/run/structural.scala b/test/files/run/structural.scala index d49a4ea3ef..536208140b 100644 --- a/test/files/run/structural.scala +++ b/test/files/run/structural.scala @@ -86,7 +86,7 @@ object Test extends Application { Console.println("16. " + r.m(Array("one", "two"))) Console.println("17. " + r.n(Array(t1, t2))) Console.println("18. " + (r.o(0) + 1)) - Console.println("19. " + r.p(0).hashCode()) + Console.println("19. " + (r.p(0).hashCode() > 0)) Console.println("20. " + r.q(0)) Console.println("21. " + r.r(0)) Console.println("22. " + r.m(r.s)) -- cgit v1.2.3