From 6c468e8927ab8277207b6d21ebe13171509213a8 Mon Sep 17 00:00:00 2001 From: Burak Emir Date: Tue, 28 Nov 2006 16:27:16 +0000 Subject: more fun with positions, and updated doc --- test/files/run/misc.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/files/run') diff --git a/test/files/run/misc.scala b/test/files/run/misc.scala index b705606342..4ae0f37007 100644 --- a/test/files/run/misc.scala +++ b/test/files/run/misc.scala @@ -222,9 +222,9 @@ Console.println; Console.println( true // Foo(3,'a',Bar()).caseElement( -1 ) == null // throws Exception now - && Foo(3,'a',Bar()).element( 1 ) == 3 - && Foo(3,'a',Bar()).element( 2 ) == 'a' - && Foo(3,'a',Bar()).element( 3 ) == Bar() + && Foo(3,'a',Bar()).element( 0 ) == 3 + && Foo(3,'a',Bar()).element( 1 ) == 'a' + && Foo(3,'a',Bar()).element( 2 ) == Bar() && true // Foo(3,'a',Bar()).caseElement( 3 ) == null // throws Exception now && Bar().arity == 0 && Foo(3,'a',Bar()).arity == 3); -- cgit v1.2.3