Ticket #638 (closed defect: fixed)
Error in index type inference.
| Reported by: | robertwb | Owned by: | robertwb |
|---|---|---|---|
| Priority: | major | Milestone: | 0.14.1 |
| Component: | Type Analysis | Keywords: | |
| Cc: |
Description
def bar(foo):
qux = foo
quux = foo[qux.baz]
The error message:
$ cython bar.py
Error compiling Cython file:
------------------------------------------------------------
...
def bar(foo):
qux = foo
quux = foo[qux.baz]
^
------------------------------------------------------------
/Users/daniel/Desktop/cython-test/bar.py:3:15: Object of type '<unspecified>' has no attribute 'baz'
Change History
Note: See
TracTickets for help on using
tickets.
