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

parser: use Attr.arg field for [name: arg] (#6084)

This commit is contained in:
Nick Treleaven
2020-08-10 01:00:14 +01:00
committed by GitHub
parent c7fae4dd6f
commit fce106cf83
7 changed files with 64 additions and 32 deletions

View File

@ -2501,7 +2501,7 @@ On Unix-like platforms, the file can be run directly after making it executable
V has several attributes that modify the behavior of functions and structs.
An attribute is specified inside `[]` right before the function/struct declaration and applies only to the following definition.
An attribute is specified inside `[]` right before a function/struct declaration and applies only to the following declaration.
```v
// Calling this function will result in a deprecation warning