nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a943507
)
rta: forgot to call Array#with_native on ASuperstringExpr
author
Jean Privat
<jean@pryen.org>
Thu, 29 Nov 2012 17:01:27 +0000
(12:01 -0500)
committer
Jean Privat
<jean@pryen.org>
Thu, 29 Nov 2012 19:01:37 +0000
(14:01 -0500)
Signed-off-by: Jean Privat <jean@pryen.org>
src/rapid_type_analysis.nit
patch
|
blob
|
history
diff --git
a/src/rapid_type_analysis.nit
b/src/rapid_type_analysis.nit
index
1d41c34
..
6be21eb
100644
(file)
--- a/
src/rapid_type_analysis.nit
+++ b/
src/rapid_type_analysis.nit
@@
-458,6
+458,8
@@
redef class ASuperstringExpr
v.add_type(v.get_class("NativeArray").get_mtype([v.get_class("Object").mclass_type]))
var prop = v.get_method(arraytype, "join")
v.add_monomorphic_send(arraytype, prop)
+ var prop2 = v.get_method(arraytype, "with_native")
+ v.add_monomorphic_send(arraytype, prop2)
end
end