Skip to content

Commit

Permalink
Bugfix: arraysize on Error shall be int, had wrong type
Browse files Browse the repository at this point in the history
We might consider some type of consolidation to define identical
concepts in one place - for example many items need a datatype
definition.  But, comparing to Error to Argument, for example, one
difference is that the Error item is optionally named but Arguments must
be named.
  • Loading branch information
gunnar-mb committed Oct 1, 2024
1 parent 6d28965 commit 3511fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ifex/model/ifex_ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class Error:
description: Optional[str] = str()
""" Specifies a description of how the errors shall be used. """

arraysize: Optional[str] = None
arraysize: Optional[int] = None
"""
Specifies the number of elements in the input parameter array.
This key is only allowed if the datatype element specifies an array (ending with []).
Expand Down

0 comments on commit 3511fb7

Please sign in to comment.