Skip to content

Commit

Permalink
Update parser.py
Browse files Browse the repository at this point in the history
  • Loading branch information
git-afsantos authored Sep 4, 2023
1 parent 5b03e13 commit 4d8dabd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hpl/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class NumberConstants(Enum):
class PropertyTransformer(Transformer):
@v_args(inline=False)
def hpl_file(self, children: Iterable[HplProperty]) -> HplSpecification:
return HplSpecification(children)
return HplSpecification(tuple(children))

def hpl_property(
self,
Expand Down

0 comments on commit 4d8dabd

Please sign in to comment.