lib/html: implement the tag list as an hashset instead of a array.
[nit.git] / tests / module_0.nit
index 0c5832c..aba5aca 100644 (file)
 
 import end
 
-class Object
-       meth output 
+interface Object
+       fun output 
        do
                0.output
        end
 
-       meth print(a: Object)
+       fun print(a: Object)
        do
                a.output
        end
 end
 
 class Int
-       redef meth output is intern
+       redef fun output is intern
 end
 
 class Sys
-       meth main
+       fun main
        do
+               print(0)
        end
 end