Skip to content

Commit

Permalink
Fix type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
radumereuta committed May 23, 2022
1 parent cf6741d commit 905eb86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyk/src/pyk/kast.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ def of(label: str, *args: KInner) -> 'KApply':
@classmethod
def from_dict(cls: Type['KApply'], d: Dict[str, Any]) -> 'KApply':
cls._check_node(d)
return KApply(label=KInner.from_dict(d['label']), args=(KInner.from_dict(arg) for arg in d['args']))
return KApply(label=KLabel.from_dict(d['label']), args=(KInner.from_dict(arg) for arg in d['args']))

def to_dict(self) -> Dict[str, Any]:
return {'node': 'KApply', 'label': self.label.to_dict(), 'args': [arg.to_dict() for arg in self.args], 'arity': self.arity, 'variable': False}
Expand Down

0 comments on commit 905eb86

Please sign in to comment.