Skip to content

Commit

Permalink
fix(ast): action AddListItem() should accept "default" as parameter
Browse files Browse the repository at this point in the history
AddListItem() was incorrectly set to accept no positional
parameters, but it should be accepting "default" as an optional
positional parameter to set the default value of a dropdown menu
list.
  • Loading branch information
johnnylam88 committed Dec 27, 2020
1 parent 059ba2e commit 11ea3a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/ast.ts
Expand Up @@ -2065,7 +2065,7 @@ export class OvaleASTClass {
tokenStream,
"ParseAddListItem",
annotation,
0,
1,
checkListItemParameters
);
if (!positionalParams || !namedParams) return undefined;
Expand Down

0 comments on commit 11ea3a8

Please sign in to comment.