1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cgen: rewrite the closure implementation (#14223)

This commit is contained in:
spaceface
2022-04-30 08:32:46 +02:00
committed by GitHub
parent ce31a01a70
commit dab649ec8a
6 changed files with 243 additions and 219 deletions

View File

@ -4,7 +4,6 @@ import sync
// it uses an explicit passing of the voidptr parameter in
// once.do_with_param/2, instead of passing a closure of it
// in once.do/1.
// Closures are not yet implemented on Windows.
struct One {
pub mut: