forked from M-Labs/artiq
compiler.types: fix TFunction internal field order (closes #208).
This commit is contained in:
parent
a871194ee4
commit
82ec76af3e
|
@ -234,8 +234,8 @@ class TFunction(Type):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
attributes = OrderedDict([
|
attributes = OrderedDict([
|
||||||
('__code__', _TPointer()),
|
|
||||||
('__closure__', _TPointer()),
|
('__closure__', _TPointer()),
|
||||||
|
('__code__', _TPointer()),
|
||||||
])
|
])
|
||||||
|
|
||||||
def __init__(self, args, optargs, ret):
|
def __init__(self, args, optargs, ret):
|
||||||
|
|
Loading…
Reference in New Issue