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

cgen: $action (ComptimeCall); vweb: hello world works!

This commit is contained in:
Alexander Medvednikov
2020-06-06 10:05:26 +02:00
parent 0a3486b4c5
commit 7815c5b108
6 changed files with 45 additions and 14 deletions

View File

@ -283,9 +283,9 @@ fn handle_conn<T>(conn net.Socket, mut app T) {
}
// Call the right action
$if debug {
//$if debug {
println('action=$action')
}
//}
app.$action()
/*
app.$action() or {