nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
c1bfc9f
)
Merge: Fixed safe-call missed cast when reference primitive data types
author
Jean Privat
<jean@pryen.org>
Tue, 3 Dec 2019 15:39:57 +0000
(10:39 -0500)
committer
Jean Privat
<jean@pryen.org>
Tue, 3 Dec 2019 15:39:57 +0000
(10:39 -0500)
This patch fixed the issue #2804 where the compiler didn't add the cast from primitive data to
`val *` when accessed by safe-call syntax.
Signed-off-by: Louis-Vincent Boudreault <lv.boudreault95@gmail.com>
Pull-Request: #2806
Reviewed-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
5b8d41b
..
970d8df
100644
(file)
--- a/
src/rapid_type_analysis.nit
+++ b/
src/rapid_type_analysis.nit
@@
-382,7
+382,6
@@
class RapidTypeAnalysis
v.enter_visit(npropdef.n_block)
end
end
-
end
fun add_cast(mtype: MType)