summaryrefslogtreecommitdiff
path: root/test/files/pos/valdefs.scala
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-12-04 15:17:55 +0000
committerpaltherr <paltherr@epfl.ch>2003-12-04 15:17:55 +0000
commit9370a1e00177d77624f68983ec6009b468a4337b (patch)
treeca78d69eb772a3826577717a607280839f5cd7d6 /test/files/pos/valdefs.scala
parent082d612f19cf3e78f76337da6ff496ef5c96fd28 (diff)
downloadscala-9370a1e00177d77624f68983ec6009b468a4337b.tar.gz
scala-9370a1e00177d77624f68983ec6009b468a4337b.tar.bz2
scala-9370a1e00177d77624f68983ec6009b468a4337b.zip
- Fixed for flattened value types
Diffstat (limited to 'test/files/pos/valdefs.scala')
-rw-r--r--test/files/pos/valdefs.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/pos/valdefs.scala b/test/files/pos/valdefs.scala
index 6e91b020b5..85ffa132b7 100644
--- a/test/files/pos/valdefs.scala
+++ b/test/files/pos/valdefs.scala
@@ -7,10 +7,10 @@ object test {
case class Sub() extends Base() {
val x = "hello";
- override val y = 1;
+ override val y = 2.0;
}
abstract class Sub2() extends Base() {
- override val Pair(x, y) = Pair("abc", 1);
+ override val Pair(x, y) = Pair("abc", 2.0);
}
}