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

Don't panic when an unresolved alias has a binding #3088

Merged
merged 2 commits into from Jul 14, 2023
Merged

Conversation

ogoffart
Copy link
Member

The first commit increase the test coverage by running the import pass even in case of error building the object_tree (the LSP does that)

The second commit fixes #3085

This improve the code coverage of syntax_text, so some adjustment had to
be made.
This may add more error in the main file, but this make it the same
behavior as for imported files and lsp who were already running these
passes all the time
Fixes #3085

When there are both a binding and a two way binding, we must keep the
two way binding in our bindings map. Otherwise type inference will not
work
@ogoffart ogoffart requested a review from tronical July 14, 2023 11:10
@ogoffart ogoffart merged commit 57e9b5b into master Jul 14, 2023
26 checks passed
@ogoffart ogoffart deleted the olivier/fix-3085 branch July 14, 2023 12:13
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.

slint preview crash in vscode
2 participants