json2v/json2v.v:3:8: warning: module 'os' is imported but never used
1 | module json2v
2 |
3 | import os
| ~~
4 | import v.ast
5 | //import v.checker
json2v/json2v.v:392:79: notice: direct sum type init (`x := SumType{}`) will be removed soon
390 | mut ident := e as ast.Ident // FIX: assignment on to a function parameter with a default value will break this cast
391 | typ := t.get_type(right[i])
392 | mut scope_obj, mut scope := t.scope.find_with_scope(ident.name) or { ast.ScopeObject{}, &ast.Scope{parent: 0} }
| ~~~~~~~~~~~~~
393 | match scope_obj {
394 | ast.Var {
json2v/json2v.v:392:79: notice: direct sum type init (`x := SumType{}`) will be removed soon
390 | mut ident := e as ast.Ident // FIX: assignment on to a function parameter with a default value will break this cast
391 | typ := t.get_type(right[i])
392 | mut scope_obj, mut scope := t.scope.find_with_scope(ident.name) or { ast.ScopeObject{}, &ast.Scope{parent: 0} }
| ~~~~~~~~~~~~~
393 | match scope_obj {
394 | ast.Var {
json2v/json2v.v:392:79: notice: direct sum type init (`x := SumType{}`) will be removed soon
390 | mut ident := e as ast.Ident // FIX: assignment on to a function parameter with a default value will break this cast
391 | typ := t.get_type(right[i])
392 | mut scope_obj, mut scope := t.scope.find_with_scope(ident.name) or { ast.ScopeObject{}, &ast.Scope{parent: 0} }
| ~~~~~~~~~~~~~
393 | match scope_obj {
394 | ast.Var {
json2v/json2v.v:392:79: notice: direct sum type init (`x := SumType{}`) will be removed soon
390 | mut ident := e as ast.Ident // FIX: assignment on to a function parameter with a default value will break this cast
391 | typ := t.get_type(right[i])
392 | mut scope_obj, mut scope := t.scope.find_with_scope(ident.name) or { ast.ScopeObject{}, &ast.Scope{parent: 0} }
| ~~~~~~~~~~~~~
393 | match scope_obj {
394 | ast.Var {
Looks like the script is soon going to be unsupported. Might have to fix these.