mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vweb: make app_test.v compile
This commit is contained in:
@@ -1102,7 +1102,7 @@ fn (p mut Parser) vh_genln(s string) {
|
||||
}
|
||||
|
||||
fn (p mut Parser) statement(add_semi bool) string {
|
||||
if p.returns { //&& !p.is_vweb {
|
||||
if p.returns && !p.is_vweb {
|
||||
p.error('unreachable code')
|
||||
}
|
||||
p.cgen.is_tmp = false
|
||||
|
||||
Reference in New Issue
Block a user