doc: closures now work on Windows
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.
|
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
|
||||||
|
|
Loading…
Reference in New Issue