nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into polymorphic_extern_classes
[nit.git]
/
src
/
model
/
model.nit
diff --git
a/src/model/model.nit
b/src/model/model.nit
index
765e601
..
6d5aa9c
100644
(file)
--- a/
src/model/model.nit
+++ b/
src/model/model.nit
@@
-214,6
+214,9
@@
redef class MModule
private var object_type_cache: nullable MClassType
private var object_type_cache: nullable MClassType
+ # The type `Pointer`, super class to all extern classes
+ var pointer_type: MClassType = self.get_primitive_class("Pointer").mclass_type is lazy
+
# The primitive type `Bool`
fun bool_type: MClassType
do
# The primitive type `Bool`
fun bool_type: MClassType
do