nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
stdlib/strings: Detached the Text block from Collection.
[nit.git]
/
src
/
modelize_property.nit
diff --git
a/src/modelize_property.nit
b/src/modelize_property.nit
index
d946c12
..
89eb0f3
100644
(file)
--- a/
src/modelize_property.nit
+++ b/
src/modelize_property.nit
@@
-882,6
+882,9
@@
redef class ATypePropdef
redef fun check_signature(modelbuilder, nclassdef)
do
+ var mpropdef = self.mpropdef
+ if mpropdef == null then return # Error thus skiped
+
var bound = self.mpropdef.bound
# Fast case: the bound is not a formal type