misc/vim: inform the user when no results are found
[nit.git] / tests / error_needed_method.nit
index 31454f1..c78ec94 100644 (file)
@@ -23,7 +23,7 @@ interface Discrete
 end
 
 enum Int
-special Discrete
+       super Discrete
 end
 
 interface Collection[E]
@@ -36,18 +36,18 @@ enum NativeString
 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)