-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
C-bugCategory: This is a bugCategory: This is a bugP-LowPriority: low priority issues and tasks.Priority: low priority issues and tasks.
Description
This might be an issue for other pass types but I haven't tested which ones work.
To reproduce:
from kirin.prelude import structural
from kirin.passes import TypeInfer
repr(TypeInfer(structural))Output:
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[11], line 3
1 from kirin.prelude import structural
2 from kirin.passes import TypeInfer
----> 3 repr(TypeInfer(structural))
File .../lib/python3.10/dataclasses.py:239, in _recursive_repr.<locals>.wrapper(self)
237 repr_running.add(key)
238 try:
--> 239 result = user_function(self)
240 finally:
241 repr_running.discard(key)
File <string>:3, in __repr__(self)
AttributeError: 'TypeInfer' object has no attribute 'inference'Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bugCategory: This is a bugP-LowPriority: low priority issues and tasks.Priority: low priority issues and tasks.