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

View File

@ -234,8 +234,8 @@ class TFunction(Type):
"""
attributes = OrderedDict([
('__code__', _TPointer()),
('__closure__', _TPointer()),
('__code__', _TPointer()),
])
def __init__(self, args, optargs, ret):