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:
@@ -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')
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user