doc: closures now work on Windows

Alexander Medvednikov 2022-05-07 09:49:33 +03:00 committed by Jef Roosens
parent 7226868d94
commit cb52c68a62
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
1 changed files with 1 additions and 2 deletions

View File

@ -2422,8 +2422,7 @@ V supports closures too.
This means that anonymous functions can inherit variables from the scope they were created in. 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. They must do so explicitly by listing all variables that are inherited.
> Warning: currently works on Unix-based, x64 architectures only. > Warning: currently works on x64 architectures only.
Some work is in progress to make closures work on Windows, then other architectures.
```v oksyntax ```v oksyntax
my_int := 1 my_int := 1