Skip to content

Commit 5582a34

Browse files
authored
fix exports (#366)
1 parent 7040048 commit 5582a34

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/kirin/__init__.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# re-exports the public API of the kirin package
2-
from kirin import ir
3-
4-
from . import types as types
2+
from . import ir as ir, types as types, lowering as lowering
53
from .exception import enable_stracetrace, disable_stracetrace
64

7-
__all__ = ["ir", "types", "enable_stracetrace", "disable_stracetrace"]
5+
__all__ = ["ir", "types", "lowering", "enable_stracetrace", "disable_stracetrace"]

src/kirin/ir/traits/callable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class CallableStmtInterface(StmtTrait, ABC, Generic[StmtType]):
2020

2121
@classmethod
2222
@abstractmethod
23-
def get_callable_region(cls, stmt: "Statement") -> "Region":
23+
def get_callable_region(cls, stmt: "StmtType") -> "Region":
2424
"""Returns the body of the callable region"""
2525
...
2626

0 commit comments

Comments
 (0)