ci: fix .out files after 40ce18f

pull/7688/head
Delyan Angelov 2020-12-29 16:10:55 +02:00
parent 17e0a65611
commit 6cf3b96a37
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
2 changed files with 13 additions and 6 deletions

View File

@ -26,6 +26,13 @@ vlib/v/checker/tests/infix_err.vv:11:7: error: `+` cannot be used with `?int`
| ^ | ^
12 | _ = int(0) + g() // FIXME not detected 12 | _ = int(0) + g() // FIXME not detected
13 | _ = g() + int(3) 13 | _ = g() + int(3)
vlib/v/checker/tests/infix_err.vv:12:12: error: unwrapped optional cannot be used in an infix expression
10 |
11 | _ = 4 + g()
12 | _ = int(0) + g() // FIXME not detected
| ^
13 | _ = g() + int(3)
14 | _ = g() + 3
vlib/v/checker/tests/infix_err.vv:13:9: error: `+` cannot be used with `?int` vlib/v/checker/tests/infix_err.vv:13:9: error: `+` cannot be used with `?int`
11 | _ = 4 + g() 11 | _ = 4 + g()
12 | _ = int(0) + g() // FIXME not detected 12 | _ = int(0) + g() // FIXME not detected

View File

@ -2,4 +2,4 @@ vlib/v/checker/tests/unwrapped_optional_infix.vv:5:16: error: unwrapped optional
3 | } 3 | }
4 | 4 |
5 | println(test() == "") 5 | println(test() == "")
| | ~~