Skip to content

Commit 4e28ebd

Browse files
committed
Recompile bug
1 parent 7d98ea3 commit 4e28ebd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ngcsimlib/_src/parser/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ def compileObject(obj):
145145
deferred_compile = []
146146
for name in dir(obj):
147147
attr = getattr(obj, name)
148+
if isinstance(attr, _methodWrapper):
149+
attr = attr._method
148150
if hasattr(attr, "_is_compilable") and not inspect.isclass(attr):
149151
if isinstance(type(attr), ContextAwareObjectMeta):
150152
compileObject(attr)

0 commit comments

Comments
 (0)