You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After #129 (name-resolver stages 1–3), 48 strict-mode unresolved-reference errors remain on the 251-file OMG example corpus (18 files). None of them are name-resolver bugs: the AST does not capture the referenced model elements. This blocks making --strict-unresolved the default.
Causes, with counts and examples:
26: nested action, calc and constraint bodies are not built into the AST, e.g. producer_2.producerBehavior.publish.sentMessage.
5: timeslice and snapshot usages are not modeled, e.g. vehicle1_t0.
3: multiple redefinitions (part :>> a :>> b): only the first is recorded.
2: an anonymous owner (elements).
2:#service def (metadata-defined keyword usages) is not modeled.
3: a name collision in the corpus itself (part def Camera vs package Camera); investigate whether this is a genuine model error.
Proposed Solution
Extend AstBuilder to build nodes for these constructs, with tests, and lower the corpus ratchet. Once it is about 10 or fewer, with each remaining case explained, flip the --strict-unresolved default (#123/#130).
Activity
Process user files in canonical path order so duplicate top-level nam…
Keep reference subsetting out of the public GeneralTypes (lookup-only…