nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
syntax: enable a generalized for with iterate
[nit.git]
/
tests
/
sav
/
base_for_custom_alt2.sav
diff --git a/tests/sav/base_for_custom_alt2.sav
b/tests/sav/base_for_custom_alt2.sav
new file mode 100644
(file)
index 0000000..
628b24a
--- /dev/null
+++ b/
tests/sav/base_for_custom_alt2.sav
@@ -0,0
+1,2
@@
+alt/base_for_custom_alt2.nit:22,3--8: Error: Method or variable 'each' unknown in A.
+alt/base_for_custom_alt2.nit:36,1--38,9: Error: 'iterate' incompatible with 'for': require one closure.