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

vweb: check function and route parameter count (#6761)

This commit is contained in:
pancake
2020-11-08 09:14:24 +01:00
committed by GitHub
parent 6da8454b3b
commit 2994e7150f
9 changed files with 138 additions and 15 deletions

View File

@ -260,6 +260,7 @@ pub:
receiver Field
receiver_pos token.Position
is_method bool
method_idx int
rec_mut bool // is receiver mutable
rec_share table.ShareType
language table.Language
@ -275,6 +276,7 @@ pub mut:
stmts []Stmt
return_type table.Type
comments []Comment // comments *after* the header, but *before* `{`; used for InterfaceDecl
source_file &File = 0
}
// break, continue