nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
src: use MFormalType for type checks when it makes sense
[nit.git]
/
src
/
highlight.nit
diff --git
a/src/highlight.nit
b/src/highlight.nit
index
ecc4c7d
..
f4268c0
100644
(file)
--- a/
src/highlight.nit
+++ b/
src/highlight.nit
@@
-871,7
+871,7
@@
redef class AType
var mt = mtype
if mt == null then return null
mt = mt.as_notnullable
- if mt isa MVirtualType or mt isa MParameterType then
+ if mt isa MFormalType then
res.add_class("nc_vt")
end
return mt.infobox(v)