Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added virtual file system to the compiler and IDE support #16298

Closed
wants to merge 6 commits into from

Conversation

awelc
Copy link
Contributor

@awelc awelc commented Feb 20, 2024

Description

This PR adds support for virtual file system, allowing the compiler to build a package from files kept by the IDE in memory.

It also fixes an existing bug (move-language/move#1082) where source files used in the symbolicator (obtained from resolution graph) and source files used by the compiler could be modified between the two uses resulting in different file hashes which can ultimately lead to crash when translating diagnostics (generated by the compiler and using "compiler file hashes") using symbolicator source files (and "symbolicator file hashes")

Test Plan

All existing tests must pass. Also, manually tested the IDE no longer needs file saves to reflect changes in the file (e.g., compiler diagnostics appear as the code is being typed).

@awelc awelc self-assigned this Feb 20, 2024
Copy link

vercel bot commented Feb 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-core ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 20, 2024 2:08am
sui-typescript-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 20, 2024 2:08am
4 Ignored Deployments
Name Status Preview Comments Updated (UTC)
explorer ⬜️ Ignored (Inspect) Visit Preview Feb 20, 2024 2:08am
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Feb 20, 2024 2:08am
mysten-ui ⬜️ Ignored (Inspect) Visit Preview Feb 20, 2024 2:08am
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Feb 20, 2024 2:08am

@awelc
Copy link
Contributor Author

awelc commented Mar 1, 2024

Superceded by #16330

@awelc awelc closed this Mar 1, 2024
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.

1 participant