nac3/nac3artiq
David Mak 6265d53ad5 [artiq] Fix intermittent class resolution failures
In the past, modules (and therefore its members) are not added or
analyzed in order of appearance, as it is stored in a HashMap with the
PythonId as its key.

While this never posed an issue in the past, the refactoring performed
in #535 assumed that the classes *are* ordered by appearance, causing
the bug to manifest. Furthermore, this bug will only manifest
iff a base class has a PythonId greater than the derived class,
explaining why the bug only occurs on occasion.

Fix this by using an IndexMap, which preserves the order of insertion
while also performing deduplication.
2025-02-11 17:02:57 +08:00
..
demo nac3artiq: acquire special python identifiers 2025-02-10 16:42:49 +08:00
src [artiq] Fix intermittent class resolution failures 2025-02-11 17:02:57 +08:00
Cargo.toml [artiq] Fix intermittent class resolution failures 2025-02-11 17:02:57 +08:00