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
Boxiang Sun
cython
Commits
d84f7744
Commit
d84f7744
authored
Oct 25, 2014
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove error test that is no longer an error
parent
46eb1a82
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tests/errors/e_ass.pyx
tests/errors/e_ass.pyx
+2
-2
No files found.
tests/errors/e_ass.pyx
View file @
d84f7744
...
@@ -14,7 +14,7 @@ ctypedef int[1] int_array
...
@@ -14,7 +14,7 @@ ctypedef int[1] int_array
cdef
int_array
x
,
y
cdef
int_array
x
,
y
x
=
y
#
error
x
=
y
#
not an error anymore
cdef
int_array
*
x_ptr
=
&
x
cdef
int_array
*
x_ptr
=
&
x
x_ptr
[
0
]
=
y
# error
x_ptr
[
0
]
=
y
# error
...
@@ -24,8 +24,8 @@ cdef class A:
...
@@ -24,8 +24,8 @@ cdef class A:
def
__init__
(
self
):
def
__init__
(
self
):
self
.
value
=
x
# error
self
.
value
=
x
# error
_ERRORS
=
u"""
_ERRORS
=
u"""
17:2: Assignment to non-lvalue 'x'
20:5: Assignment to non-lvalue of type 'int_array'
20:5: Assignment to non-lvalue of type 'int_array'
25:12: Assignment to non-lvalue of type 'int_array'
25:12: Assignment to non-lvalue of type 'int_array'
7:19: Cannot assign type 'char *' to 'int'
7:19: Cannot assign type 'char *' to 'int'
...
...
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