nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb136d4
)
rta: do not enter in annotations
author
Jean Privat
<jean@pryen.org>
Tue, 16 Jul 2013 19:51:56 +0000
(15:51 -0400)
committer
Jean Privat
<jean@pryen.org>
Thu, 25 Jul 2013 17:33:16 +0000
(13:33 -0400)
src/rapid_type_analysis.nit
patch
|
blob
|
history
diff --git
a/src/rapid_type_analysis.nit
b/src/rapid_type_analysis.nit
index
6675dcd
..
fe49d70
100644
(file)
--- a/
src/rapid_type_analysis.nit
+++ b/
src/rapid_type_analysis.nit
@@
-401,7
+401,10
@@
private class RapidTypeVisitor
var implicit_cast_to = node.implicit_cast_to
if implicit_cast_to != null then self.add_cast_type(implicit_cast_to)
end
- node.visit_all(self)
+ # RTA does not enter in AAnnotations
+ if not node isa AAnnotations then
+ node.visit_all(self)
+ end
end
# Force to get the primitive class named `name' or abort