nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
syntax: 'meth' -> 'fun', 'attr' -> 'var'
[nit.git]
/
tests
/
base_prot.nit
diff --git
a/tests/base_prot.nit
b/tests/base_prot.nit
index
f7eba89
..
c7e2930
100644
(file)
--- a/
tests/base_prot.nit
+++ b/
tests/base_prot.nit
@@
-17,14
+17,14
@@
import kernel
class A
import kernel
class A
- meth pub do 0.output
- protected meth pro do 1.output
- private meth pri do 2.output
+ fun pub do 0.output
+ protected fun pro do 1.output
+ private fun pri do 2.output
init do end
end
class O1
init do end
end
class O1
- meth o
+ fun o
do
var a = new A
a.pub
do
var a = new A
a.pub