tests: update error message because of new iterators AST
[nit.git] / tests / sav / base_iterator3.res
index e07734d..61f817d 100644 (file)
@@ -1,5 +1,6 @@
-base_iterator3.nit:35,1--25: Type Error: Expected method 'iterator' to return an Iterator of MapIterator type
-base_iterator3.nit:39,1--25: Type Error: Expected method 'iterator' to return an Iterator or MapIterator type
-base_iterator3.nit:43,1--25: Type Error: Expected method 'iterator' in type Test3
-base_iterator3.nit:46,1--48: Type Error: Expected one variable
-base_iterator3.nit:47,1--47: Type Error: Expected two variables
+base_iterator3.nit:35,5--14: Type Error: `for` expects the method `iterator` to return an `Iterator` or `MapIterator` type.
+base_iterator3.nit:39,5--14: Type Error: `for` expects the method `iterator` to return an `Iterator` or `MapIterator` type.
+base_iterator3.nit:43,5--14: Error: method `iterator` does not exists in `Test3`.
+base_iterator3.nit:43,5--14: Type Error: `for` expects a type providing an `iterator` method, got `Test3`.
+base_iterator3.nit:46,5--29: Type Error: `for` expects only one variable when using `Iterator`.
+base_iterator3.nit:47,5--36: Type Error: `for` expects two variables when using `MapIterator`.