projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bbd22b
)
fix safety coercion after call node optimisation
author
Stefan Behnel
<stefan_ml@behnel.de>
Wed, 6 Feb 2013 09:47:23 +0000
(10:47 +0100)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Wed, 6 Feb 2013 09:47:23 +0000
(10:47 +0100)
Cython/Compiler/Optimize.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Optimize.py
b/Cython/Compiler/Optimize.py
index
80d6609
..
75f0aff
100644
(file)
--- a/
Cython/Compiler/Optimize.py
+++ b/
Cython/Compiler/Optimize.py
@@
-1189,7
+1189,8
@@
class SimplifyCalls(Visitor.EnvTransform):
args=args)
call_node.analyse_types(self.current_env())
if node.type != call_node.type:
- call_node = call_node.coerce_to(node.type)
+ call_node = call_node.coerce_to(
+ node.type, self.current_env())
return call_node