Fix attribute_{read,write} types to int
This commit is contained in:
parent
9238eae5ee
commit
1c1d721f7c
|
@ -264,7 +264,7 @@ def semantic_check(node: ASTnode, sem_data: SemData) -> None | ASTnode:
|
|||
if node.child_attribute.value not in valid_attributes:
|
||||
semantic_error(f'Invalid attribute \'{node.child_attribute.value}\' for {node.nodetype.split("_")[0]}, allowed values {valid_attributes}', node.child_attribute)
|
||||
|
||||
node.type = 'date'
|
||||
node.type = 'int'
|
||||
return node
|
||||
case 'print':
|
||||
for item in node.children_items:
|
||||
|
|
Loading…
Reference in New Issue