nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
As keyword (for casts)
[nit.git]
/
src
/
syntax
/
typing.nit
diff --git
a/src/syntax/typing.nit
b/src/syntax/typing.nit
index
cae16f3
..
4e8348a
100644
(file)
--- a/
src/syntax/typing.nit
+++ b/
src/syntax/typing.nit
@@
-1143,6
+1143,14
@@
redef class AIsaExpr
end
end
+redef class AAsCastExpr
+ redef meth after_typing(v)
+ do
+ _stype = n_type.stype
+ var et = n_expr.stype
+ end
+end
+
redef class AProxyExpr
redef meth after_typing(v)
do