Skip to content

Extend module type related limitation - #91

Merged
fantazio merged 3 commits into
LexiFi:masterfrom
fantazio:tests
Aug 4, 2026
Merged

Extend module type related limitation#91
fantazio merged 3 commits into
LexiFi:masterfrom
fantazio:tests

Conversation

@fantazio

@fantazio fantazio commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

The "sigincl" limitation was only documented for exported values (related issue #64).
However, the analyzer semantics on module types are for all code elements. Hence, the limitation was extended to "modtype" and is now documented as a general limitation and the corresponding test manipulates all reportable element kinds.

In addition, a related false positive was unveiled in examples/using_make. The corresponding test's expected results were not updated to reflect the restriction on module types.

Content of module types should not be tracked according to the
analyzer's semantics. An old example's expected results were not updated
when the semantics were decided, hiding a false positive as a true
positive.
The limitation was in the exported values. It is now a general limitation.
A new `examples/docs/limitations` was created to expose general
limitations.

The documentation, expected, and ref results have been updated accordingly.
The module type limitation is now documented as a general limitations as
well.
@fantazio
fantazio force-pushed the tests branch 2 times, most recently from a1b99f9 to 7f1eb24 Compare August 3, 2026 14:53
Extend the test to all supported constructs. It now shows the limitation
on constructors, fields, methods, and optional values.
The documentation, expected, and ref results have been updated accordingly.
@fantazio
fantazio merged commit 718cf61 into LexiFi:master Aug 4, 2026
5 checks passed
@fantazio
fantazio deleted the tests branch August 4, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant