X-Git-Url: http://nitlanguage.org diff --git a/tests/error_needed_method.nit b/tests/error_needed_method.nit index 31454f1..eea217f 100644 --- a/tests/error_needed_method.nit +++ b/tests/error_needed_method.nit @@ -23,7 +23,7 @@ interface Discrete end enum Int -special Discrete + super Discrete end interface Collection[E] @@ -32,22 +32,22 @@ end class String end -enum NativeString +enum CString end class Array[E] -special Collection[E] + super Collection[E] end class Range[E] -special Collection[E] + super Collection[E] end #alt1#var a = [1, 2] #alt2#for i in new Collection[Int] do i.output #alt3#var s = "str" #alt4#var s2 = "str{5}str" -#alt5#var r = [1..10] +#alt5# #var r = [1..10] # DISABLE #alt6#var r = [1..10[ #alt7#fun foo(x: Int...) do end #alt7#foo(1, 2, 3)