We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1da7d58 commit 2efdaefCopy full SHA for 2efdaef
parser/parser_rules.go
@@ -443,6 +443,10 @@ func (p *sourceParser) consumeAnnotationPart() *ast.Annotation {
443
n.Values = list
444
} else {
445
n.Value = p.consumeIdentifier()
446
+ if p.isToken(tokenTypeLeftParen) {
447
+ // Consume (optional) parameters, e.g. NamedConstructor=Foo(...).
448
+ n.Parameters = p.consumeParameters()
449
+ }
450
}
451
} else if p.isToken(tokenTypeLeftParen) {
452
// Consume (optional) parameters.
0 commit comments