File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Rubberduck.Parsing/Grammar Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -637,9 +637,7 @@ dictionaryCallStmt : '!' ambiguousIdentifier typeHint?;
637
637
638
638
argList : LPAREN (WS ? arg (WS ? ' ,' WS ? arg)*)? WS ? RPAREN ;
639
639
640
- // bug parameters should allow type hints - does this fix work?
641
- // arg : (OPTIONAL WS)? ((BYVAL | BYREF) WS)? (PARAMARRAY WS)? ambiguousIdentifier (typeHint)? (WS? LPAREN WS? RPAREN)? (WS? asTypeClause)? (WS? argDefaultValue)?;
642
- arg : (OPTIONAL WS )? ((BYVAL | BYREF ) WS )? (PARAMARRAY WS )? ambiguousIdentifier (WS ? LPAREN WS ? RPAREN )? (WS ? asTypeClause)? (WS ? argDefaultValue)?;
640
+ arg : (OPTIONAL WS )? ((BYVAL | BYREF ) WS )? (PARAMARRAY WS )? ambiguousIdentifier typeHint? (WS ? LPAREN WS ? RPAREN )? (WS ? asTypeClause)? (WS ? argDefaultValue)?;
643
641
644
642
argDefaultValue : EQ WS ? valueStmt;
645
643
You can’t perform that action at this time.
0 commit comments