Skip to content

Add cache to staged modules#426

Open
ChingLongTin wants to merge 534 commits into
hkust-taco:hkmc2from
ChingLongTin:add-cache
Open

Add cache to staged modules#426
ChingLongTin wants to merge 534 commits into
hkust-taco:hkmc2from
ChingLongTin:add-cache

Conversation

@ChingLongTin

Copy link
Copy Markdown
Contributor

Populates the function cache and generatorMap for each staged module

@ChingLongTin

Copy link
Copy Markdown
Contributor Author

The new test file Nested.mls uses :ftc to turn functions that capture variables into staged classes. however, this case cannot be instrumented as they will contain private variables, which are disallowed for now. For this PR, I put a :fixme on the given tests.

I will address those tests in a later PR. Unless there is that approach that works for classes with private fields, I will look into turning the private fields generated classes of :ftc to public fields.

@LPTK

LPTK commented May 21, 2026

Copy link
Copy Markdown
Contributor

Note that some changes to private fields are upcoming and may make this easier to deal with:

@LPTK

LPTK commented May 28, 2026

Copy link
Copy Markdown
Contributor

Pls revert most of the changes in dcc22f7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants