nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib/github: handles commit comments
[nit.git]
/
src
/
uml
/
uml_module.nit
diff --git
a/src/uml/uml_module.nit
b/src/uml/uml_module.nit
index
55d16f3
..
8485c45
100644
(file)
--- a/
src/uml/uml_module.nit
+++ b/
src/uml/uml_module.nit
@@
-90,11
+90,11
@@
redef class MClassDef
end
if mclass.arity > 0 then
t.add "["
end
if mclass.arity > 0 then
t.add "["
- var formal = mclass.intro.parameter_names
- t.add formal.first
- for i in [1 .. formal.length[ do
+ var mparameters = mclass.mparameters
+ t.add mparameters.first.name
+ for i in [1 .. mparameters.length[ do
t.add ", "
t.add ", "
- t.add formal[i]
+ t.add mparameters[i].name
end
t.add "]"
end
end
t.add "]"
end