Skip to content

Commit

Permalink
parser: add missing field to unsafe attribute ast node
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-conigliaro committed Nov 10, 2023
1 parent e4f55fb commit ab4c1f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vlib/v/parser/parser.v
Original file line number Diff line number Diff line change
Expand Up @@ -1874,6 +1874,7 @@ fn (mut p Parser) parse_attr(is_at bool) ast.Attr {
name: 'unsafe'
kind: kind
pos: apos.extend(p.tok.pos())
has_at: is_at
}
}
mut name := ''
Expand Down

0 comments on commit ab4c1f4

Please sign in to comment.