From a89965f50092b5911569ac6d9ceeeb8c9e4c1b79 Mon Sep 17 00:00:00 2001 From: Bhargava Shastry Date: Wed, 20 Nov 2019 16:47:38 +0100 Subject: [PATCH] Documentation: yul function definition clarification --- docs/yul.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/yul.rst b/docs/yul.rst index d0a09d3a5..304a4b7e5 100644 --- a/docs/yul.rst +++ b/docs/yul.rst @@ -168,7 +168,7 @@ The ``continue`` and ``break`` statements can only be used inside loop bodies and have to be in the same function as the loop (or both have to be at the top level). The condition part of the for-loop has to evaluate to exactly one value. -Functions cannot be defined inside for loop init blocks. +Functions cannot be defined anywhere inside for loop init blocks. Literals cannot be larger than the their type. The largest type defined is 256-bit wide.