From 91832aa8867008f65e21472752acd85573832044 Mon Sep 17 00:00:00 2001 From: fanmingyu212 Date: Sun, 2 May 2021 19:26:21 -0700 Subject: [PATCH] manual: cannot use empty lists in kernel Signed-off-by: Mingyu Fan --- doc/manual/compiler.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/manual/compiler.rst b/doc/manual/compiler.rst index 9d550e7b0..269451712 100644 --- a/doc/manual/compiler.rst +++ b/doc/manual/compiler.rst @@ -75,6 +75,8 @@ the builtin ``float`` type on the core device, this can lead to problems in func ``round(float(numpy.float64(1.0)))`` returns an integer on the core device as well as on the host interpreter. +Empty lists do not have valid list element types, so they cannot be used in the kernel. + Asynchronous RPCs -----------------