nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52ecf97
)
rta: fix the real live type in superstring (that is `NativeArray[String]`)
author
Jean Privat
<jean@pryen.org>
Sun, 24 May 2015 02:30:32 +0000
(22:30 -0400)
committer
Jean Privat
<jean@pryen.org>
Sun, 24 May 2015 02:30:32 +0000
(22:30 -0400)
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
81e14fa
..
8e5565c
100644
(file)
--- a/
src/rapid_type_analysis.nit
+++ b/
src/rapid_type_analysis.nit
@@
-559,7
+559,7
@@
redef class ASuperstringExpr
redef fun accept_rapid_type_visitor(v)
do
var mmodule = v.analysis.mainmodule
- var object_type = mmodule.object_type
+ var object_type = mmodule.string_type
var arraytype = mmodule.array_type(object_type)
v.add_type(arraytype)
var nattype = mmodule.native_array_type(object_type)