1
0
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:
Alexander Medvednikov
2019-08-12 17:21:56 +03:00
parent 6002511052
commit cba4d59712
2 changed files with 5 additions and 3 deletions

View File

@@ -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