forked from M-Labs/artiq
1
0
Fork 0

compiler.types: fix TFunction internal field order (closes #208).

This commit is contained in:
whitequark 2015-12-26 18:08:30 +08:00
parent a871194ee4
commit 82ec76af3e
1 changed files with 1 additions and 1 deletions

View File

@ -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):