Merge: tests: Test result update for `curl_http`
[nit.git] / tests / error_needed_method.nit
index 30460d1..eea217f 100644 (file)
@@ -22,8 +22,8 @@ end
 interface Discrete
 end
 
-universal Int
-special Discrete
+enum Int
+       super Discrete
 end
 
 interface Collection[E]
@@ -32,22 +32,22 @@ end
 class String
 end
 
-universal 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)