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:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user