From 35cfa0da7c7fbf06f62afe62e1ae2b531a758694 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sat, 7 May 2022 11:02:53 +0300 Subject: [PATCH] doc: closures work on arm64 too --- doc/docs.md | 2 +- vlib/v/util/util.v | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/docs.md b/doc/docs.md index 3728a93f8d..f3a60daf07 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -2422,7 +2422,7 @@ V supports closures too. This means that anonymous functions can inherit variables from the scope they were created in. They must do so explicitly by listing all variables that are inherited. -> Warning: currently works on x64 architectures only. +> Warning: currently works on x64 and arm64 architectures only. ```v oksyntax my_int := 1 diff --git a/vlib/v/util/util.v b/vlib/v/util/util.v index e0a17a408e..e2d49d1769 100644 --- a/vlib/v/util/util.v +++ b/vlib/v/util/util.v @@ -33,6 +33,7 @@ const ( '\t\t\t\t\t\t\t', '\t\t\t\t\t\t\t\t', '\t\t\t\t\t\t\t\t\t', + '\t\t\t\t\t\t\t\t\t\t', ] )