From 504b8f014812167e217a23de5470b5025d58ed96 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Mon, 27 Jul 2020 23:34:37 +0100 Subject: [PATCH] language: Export TArray --- artiq/language/types.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/artiq/language/types.py b/artiq/language/types.py index c767dd663..4a186788a 100644 --- a/artiq/language/types.py +++ b/artiq/language/types.py @@ -8,7 +8,7 @@ from artiq.compiler import types, builtins __all__ = ["TNone", "TTuple", "TBool", "TInt32", "TInt64", "TFloat", "TStr", "TBytes", "TByteArray", - "TList", "TRange32", "TRange64", + "TList", "TArray", "TRange32", "TRange64", "TVar"] TNone = builtins.TNone() @@ -21,6 +21,7 @@ TBytes = builtins.TBytes() TByteArray = builtins.TByteArray() TTuple = types.TTuple TList = builtins.TList +TArray = builtins.TArray TRange32 = builtins.TRange(builtins.TInt(types.TValue(32))) TRange64 = builtins.TRange(builtins.TInt(types.TValue(64))) TVar = types.TVar