Skip to content

Commit

Permalink
Fix method from_definition in KoreDefn
Browse files Browse the repository at this point in the history
  • Loading branch information
tothtamas28 committed Jan 22, 2025
1 parent 4e5302f commit a100c81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyk/src/pyk/kore/internal.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ def from_definition(defn: Definition) -> KoreDefn:
sorts[name] = sent
case SymbolDecl(Symbol(name)):
symbols[name] = sent
if 'function' in sent.attrs_by_key:
functions.setdefault(name, [])
case Axiom(attrs=(App('subsort', (SortApp(subsort), SortApp(supersort))),)):
subsorts.append((subsort, supersort))
case Axiom():
Expand Down

0 comments on commit a100c81

Please sign in to comment.