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

cgen: fix .filter() and .map() on shared arrays (#13954)

This commit is contained in:
crthpl
2022-04-07 08:05:11 -07:00
committed by GitHub
parent eea46c4e1a
commit b232a3b0d1
11 changed files with 112 additions and 26 deletions

View File

@@ -51,7 +51,9 @@ fn main() {
//}
pub fn (mut app App) index() vweb.Result {
assert app.global_config.max_ping == 50
rlock app.global_config {
assert app.global_config.max_ping == 50
}
return app.text('Welcome to VWeb')
}