nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: fix test errors for engine nitc
[nit.git]
/
tests
/
base_var_assignment_flow.nit
diff --git
a/tests/base_var_assignment_flow.nit
b/tests/base_var_assignment_flow.nit
index
a05a167
..
bab71d0
100644
(file)
--- a/
tests/base_var_assignment_flow.nit
+++ b/
tests/base_var_assignment_flow.nit
@@
-17,18
+17,18
@@
import end
interface Object
import end
interface Object
- meth output is abstract
+ fun output is abstract
end
end
-universal Int
- redef meth output is intern
+enum Int
+ redef fun output is intern
end
end
-universal Bool
- redef meth output is intern
+enum Bool
+ redef fun output is intern
end
end
-meth maybe: Bool do return false
+fun maybe: Bool do return false
var a: Object
#alt1#a.output
var a: Object
#alt1#a.output
@@
-40,9
+40,9
@@
b.output
var c: Object
if maybe then
var c: Object
if maybe then
- c = 2 #!alt2# #!alt4#
+ c = 2 #alt2# #alt4#
else
else
- c = 2 #!alt3# #!alt4#
+ c = 2 #alt3# #alt4#
end
c.output
end
c.output