diff --git a/cmd/tools/gen_vc.v b/cmd/tools/gen_vc.v index ff8f5e2449..c2e8746b3e 100644 --- a/cmd/tools/gen_vc.v +++ b/cmd/tools/gen_vc.v @@ -125,7 +125,7 @@ fn main() { } // webhook server mode if flag_options.serve { - vweb.run(flag_options.port) + vweb.run(&WebhookServer{}, flag_options.port) } else { // cmd mode mut gen_vc := new_gen_vc(flag_options) diff --git a/vlib/v/ast/table.v b/vlib/v/ast/table.v index 95f91bd247..604926e4b8 100644 --- a/vlib/v/ast/table.v +++ b/vlib/v/ast/table.v @@ -28,7 +28,7 @@ pub mut: panic_handler FnPanicHandler = default_table_panic_handler panic_userdata voidptr = voidptr(0) // can be used to pass arbitrary data to panic_handler; panic_npanics int - cur_fn &FnDecl // previously stored in Checker.cur_fn and Gen.cur_fn + cur_fn &FnDecl = 0 // previously stored in Checker.cur_fn and Gen.cur_fn } [unsafe] diff --git a/vlib/v/doc/doc.v b/vlib/v/doc/doc.v index 5364c13c3a..2a58cdd3bf 100644 --- a/vlib/v/doc/doc.v +++ b/vlib/v/doc/doc.v @@ -94,7 +94,6 @@ pub mut: table &ast.Table = &ast.Table{} checker checker.Checker = checker.Checker{ table: 0 - cur_fn: 0 pref: 0 } fmt fmt.Fmt