Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
306b3a2b
Commit
306b3a2b
authored
Jul 06, 2014
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a bug
parent
50847c8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
Cython/Compiler/ExprNodes.py
Cython/Compiler/ExprNodes.py
+4
-3
No files found.
Cython/Compiler/ExprNodes.py
View file @
306b3a2b
...
...
@@ -4445,11 +4445,12 @@ class SimpleCallNode(CallNode):
return
func_type
def
analyse_c_function_call
(
self
,
env
):
if
self
.
function
.
type
is
error_type
:
func_type
=
self
.
function
.
type
if
func_type
is
error_type
:
self
.
type
=
error_type
return
if
self
.
function
.
type
.
is_static_method
:
if
func_type
.
is_cfunction
and
func_
type
.
is_static_method
:
if
self
.
self
and
self
.
self
.
type
.
is_extension_type
:
# To support this we'd need to pass self to determine whether
# it was overloaded in Python space (possibly via a Cython
...
...
@@ -4461,7 +4462,7 @@ class SimpleCallNode(CallNode):
else
:
args
=
self
.
args
if
self
.
function
.
type
.
is_cpp_class
:
if
func_
type
.
is_cpp_class
:
overloaded_entry
=
self
.
function
.
type
.
scope
.
lookup
(
"operator()"
)
if
overloaded_entry
is
None
:
self
.
type
=
PyrexTypes
.
error_type
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment