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

checker: more default field fixes

This commit is contained in:
Alexander Medvednikov
2020-09-09 14:14:44 +02:00
parent 925f1781b3
commit ea31f75098
10 changed files with 25 additions and 25 deletions

View File

@ -5,7 +5,7 @@ struct Stack {
null_element int = C.INT_MIN
mut:
elements []int
size int = 0
size int
}
fn (stack Stack) is_null(data int) bool {
@ -44,7 +44,7 @@ fn (mut stack Stack) push(item int) {
struct BTree {
mut:
all_tags []Tag
node_pointer int = 0
node_pointer int
childrens [][]int
parents []int
}

View File

@ -7,11 +7,11 @@ mut:
current_tag &Tag
open_tag bool = false
open_code bool = false
open_string int = 0
open_string int
open_comment bool = false
is_attribute bool = false
opened_code_type string = ''
line_count int = 0
opened_code_type string
line_count int
lexeme_builder string
code_tags map[string]bool = {
'script': true

View File

@ -15,7 +15,7 @@ mut:
attributes map[string]string // attributes will be like map[name]value
last_attribute string
parent &Tag = C.NULL
position_in_parent int = 0
position_in_parent int
closed bool = false
close_type CloseTagType = .in_name
}