mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
doc: closures now work on Windows
This commit is contained in:
parent
89c1e7f980
commit
9fb8de14dd
@ -2422,8 +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 Unix-based, x64 architectures only.
|
||||
Some work is in progress to make closures work on Windows, then other architectures.
|
||||
> Warning: currently works on x64 architectures only.
|
||||
|
||||
```v oksyntax
|
||||
my_int := 1
|
||||
|
Loading…
Reference in New Issue
Block a user