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:
@ -5,7 +5,7 @@ import os
|
||||
pub struct DocumentObjectModel {
|
||||
mut:
|
||||
root &Tag
|
||||
constructed bool = false
|
||||
constructed bool
|
||||
btree BTree
|
||||
all_tags []&Tag
|
||||
all_attributes map[string][]&Tag
|
||||
|
@ -5,11 +5,11 @@ import os
|
||||
struct LexycalAttributes {
|
||||
mut:
|
||||
current_tag &Tag
|
||||
open_tag bool = false
|
||||
open_code bool = false
|
||||
open_tag bool
|
||||
open_code bool
|
||||
open_string int
|
||||
open_comment bool = false
|
||||
is_attribute bool = false
|
||||
open_comment bool
|
||||
is_attribute bool
|
||||
opened_code_type string
|
||||
line_count int
|
||||
lexeme_builder string
|
||||
@ -32,7 +32,7 @@ mut:
|
||||
current_tag: &Tag{}
|
||||
}
|
||||
filename string = 'direct-parse'
|
||||
initialized bool = false
|
||||
initialized bool
|
||||
tags []&Tag
|
||||
debug_file os.File
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ mut:
|
||||
last_attribute string
|
||||
parent &Tag = C.NULL
|
||||
position_in_parent int
|
||||
closed bool = false
|
||||
closed bool
|
||||
close_type CloseTagType = .in_name
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user