nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src: transform all old writable in annotations
[nit.git]
/
src
/
model
/
mproject.nit
diff --git
a/src/model/mproject.nit
b/src/model/mproject.nit
index
0b8010e
..
72f2114
100644
(file)
--- a/
src/model/mproject.nit
+++ b/
src/model/mproject.nit
@@
-30,7
+30,7
@@
class MProject
redef var model: Model
# The root of the group tree
redef var model: Model
# The root of the group tree
- var root: nullable MGroup writable = null
+ var root: nullable MGroup = null is writable
# The group tree, as a POSet
var mgroups = new POSet[MGroup]
# The group tree, as a POSet
var mgroups = new POSet[MGroup]
@@
-81,7
+81,7
@@
class MGroup
fun is_root: Bool do return mproject.root == self
# The filepath (usualy a directory) of the group, if any
fun is_root: Bool do return mproject.root == self
# The filepath (usualy a directory) of the group, if any
- var filepath: nullable String writable
+ var filepath: nullable String is writable
init (name: String, mproject: MProject, parent: nullable MGroup)
do
init (name: String, mproject: MProject, parent: nullable MGroup)
do