From 21f24de326d79515c44f80665f9679410389b1ab Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Wed, 30 Apr 2003 09:06:27 +0000 Subject: *** empty log message *** --- test/files/pos/List1.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/files/pos/List1.scala') diff --git a/test/files/pos/List1.scala b/test/files/pos/List1.scala index 6c54f109ce..f0fce9501f 100644 --- a/test/files/pos/List1.scala +++ b/test/files/pos/List1.scala @@ -9,8 +9,8 @@ object lists { def Nil[a] = new List[a] { def isEmpty: Boolean = true; - def head = error[a]("head of Nil"); - def tail = error[List[a]]("tail of Nil"); + def head = error("head of Nil"); + def tail = error("tail of Nil"); } def Cons[a](x: a, xs: List[a]): List[a] = new List[a] { -- cgit v1.2.3