From 82ec76af3e3c7d2efd0dcace7b502ede9c337b09 Mon Sep 17 00:00:00 2001 From: whitequark Date: Sat, 26 Dec 2015 18:08:30 +0800 Subject: [PATCH] compiler.types: fix TFunction internal field order (closes #208). --- artiq/compiler/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/compiler/types.py b/artiq/compiler/types.py index c7f88b9f4..2f7bf798c 100644 --- a/artiq/compiler/types.py +++ b/artiq/compiler/types.py @@ -234,8 +234,8 @@ class TFunction(Type): """ attributes = OrderedDict([ - ('__code__', _TPointer()), ('__closure__', _TPointer()), + ('__code__', _TPointer()), ]) def __init__(self, args, optargs, ret):