We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b16389a commit c0b4bf4Copy full SHA for c0b4bf4
python/egglog/egraph.py
@@ -108,7 +108,7 @@ def __post_init__(self, modules: list[Module] = []) -> None:
108
included_decls = [_BUILTIN_DECLS] if _BUILTIN_DECLS else []
109
# Traverse all the included modules to flatten all their dependencies and add to the included declerations
110
for mod in modules:
111
- for child_mod in [mod, *mod._flatted_deps]:
+ for child_mod in [*mod._flatted_deps, mod]:
112
if child_mod not in self._flatted_deps:
113
self._flatted_deps.append(child_mod)
114
included_decls.append(child_mod._mod_decls._decl)
0 commit comments