ast: add use case comment for MatchExpr.var_name

pull/6056/head
Delyan Angelov 2020-08-03 22:10:59 +03:00
parent c547e8b191
commit e291c38119
1 changed files with 1 additions and 1 deletions

View File

@ -498,7 +498,7 @@ pub:
branches []MatchBranch branches []MatchBranch
pos token.Position pos token.Position
is_mut bool // `match mut ast_node {` is_mut bool // `match mut ast_node {`
var_name string var_name string // `match cond as var_name {`
pub mut: pub mut:
is_expr bool // returns a value is_expr bool // returns a value
return_type table.Type return_type table.Type