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
6314aae9
Commit
6314aae9
authored
Jan 03, 2009
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed redundant type error for '**'
parent
9ad4e771
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
Cython/Compiler/ExprNodes.py
Cython/Compiler/ExprNodes.py
+0
-4
No files found.
Cython/Compiler/ExprNodes.py
View file @
6314aae9
...
@@ -4044,10 +4044,6 @@ class NumBinopNode(BinopNode):
...
@@ -4044,10 +4044,6 @@ class NumBinopNode(BinopNode):
def
analyse_c_operation
(
self
,
env
):
def
analyse_c_operation
(
self
,
env
):
type1
=
self
.
operand1
.
type
type1
=
self
.
operand1
.
type
type2
=
self
.
operand2
.
type
type2
=
self
.
operand2
.
type
if
self
.
operator
==
"**"
and
type1
.
is_int
and
type2
.
is_int
:
error
(
self
.
pos
,
"** with two C int types is ambiguous"
)
self
.
type
=
error_type
return
self
.
type
=
self
.
compute_c_result_type
(
type1
,
type2
)
self
.
type
=
self
.
compute_c_result_type
(
type1
,
type2
)
if
not
self
.
type
:
if
not
self
.
type
:
self
.
type_error
()
self
.
type_error
()
...
...
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