syntax: 'meth' -> 'fun', 'attr' -> 'var'
[nit.git] / tests / test_star.nit
index 8a0ec23..c6dfc74 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-meth foo(a: Int...)
+fun foo(a: Int...)
     do
        print(a)
     end
 
-meth bar(b: Int, a: Int...)
+fun bar(b: Int, a: Int...)
     do
        print("{b}, {a}")
     end
 
-meth baz(a: Int..., b: Int)
+fun baz(a: Int..., b: Int)
     do
        print("{a}, {b}")
     end
 
-meth foobar(b: Int, a: Int..., c: Int)
+fun foobar(b: Int, a: Int..., c: Int)
     do
        print("{c}, {a}, {b}")
     end