Closed robertwb closed 8 years ago
Reported by scoder on 25 Jun 2015 15:02 UTC
cdef union U: int x double y cdef (U,) a = ({"x": 1},)
This should work but instead gives a KeyError("y") at runtime.
KeyError("y")
Migrated-From: http://trac.cython.org/ticket/852
Modified by scoder on 29 Jun 2015 06:37 UTC
Comment by scoder on 29 Jun 2015 06:38 UTC Fixed here: https://github.com/cython/cython/commit/09a61d2a129a842acbd6ff60da63ddc8f0ba1687
Reported by scoder on 25 Jun 2015 15:02 UTC
This should work but instead gives a
KeyError("y")
at runtime.Migrated-From: http://trac.cython.org/ticket/852