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

checker: fix error pos on default value (#6338)

This commit is contained in:
Daniel Däschle
2020-09-09 15:34:41 +02:00
committed by GitHub
parent 78e28a72ed
commit 3a146a6dbe
17 changed files with 56 additions and 43 deletions

View File

@@ -1482,7 +1482,7 @@ fn state_str(s Match_state) string {
struct StateObj {
pub mut:
match_flag bool = false
match_flag bool
match_index int = -1
match_first int = -1
}