-
Notifications
You must be signed in to change notification settings - Fork 195
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
chore(compiler): type references as expressions and phase tracking #3177
Merged
Commits on Jun 30, 2023
-
chore: add
phase
to each expression during type checkingNo functional changes, preparatory pull request as part of the expression lifting escapade. To support expression lifting, the type checker now records the phase of each expression during type checking and makes it available through `get_expr_phase`. Additionally, turn the variable component of `StmtKind::Assignment` from a simple `Symbol` to an `Expr` in order for it to also hold type and phase information. The JSII importer accidentally imported structs as `preflight` while they should be phase-independent. Misc: strip excess newlines when adding a line to `CodeMaker`.
Configuration menu - View commit details
-
Copy full SHA for 71a51ff - Browse repository at this point
Copy the full SHA 71a51ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9f2b5d - Browse repository at this point
Copy the full SHA e9f2b5dView commit details -
Signed-off-by: monada-bot[bot] <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 59b72d3 - Browse repository at this point
Copy the full SHA 59b72d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 460f633 - Browse repository at this point
Copy the full SHA 460f633View commit details -
fix(cli):
wing test
returns 0 exit code upon failure (#3176)Fixes #2916 by returning exit code 0 when tests fail. ## Misc Tweaks to a bunch of tests. ## Checklist - [x] Title matches [Winglang's style guide](https://docs.winglang.io/contributing/pull_requests#how-are-pull-request-titles-formatted) - [x] Description explains motivation and solution - [x] Tests added (always) - [x] Docs updated (only required for features) - [x] Added `pr/e2e-full` label if this feature requires end-to-end testing *By submitting this pull request, I confirm that my contribution is made under the terms of the [Monada Contribution License](https://docs.winglang.io/terms-and-policies/contribution-license.html)*.
Configuration menu - View commit details
-
Copy full SHA for 74de1b7 - Browse repository at this point
Copy the full SHA 74de1b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7394012 - Browse repository at this point
Copy the full SHA 7394012View commit details -
Configuration menu - View commit details
-
Copy full SHA for a289ac2 - Browse repository at this point
Copy the full SHA a289ac2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84933db - Browse repository at this point
Copy the full SHA 84933dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for fa903ff - Browse repository at this point
Copy the full SHA fa903ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fcd257 - Browse repository at this point
Copy the full SHA 6fcd257View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78226b5 - Browse repository at this point
Copy the full SHA 78226b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 899bbaa - Browse repository at this point
Copy the full SHA 899bbaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cae383 - Browse repository at this point
Copy the full SHA 4cae383View commit details -
Signed-off-by: monada-bot[bot] <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 06dee2f - Browse repository at this point
Copy the full SHA 06dee2fView commit details -
Signed-off-by: monada-bot[bot] <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for af789dc - Browse repository at this point
Copy the full SHA af789dcView commit details -
Update libs/wingc/src/type_check.rs
Co-authored-by: Chris Rybicki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 96cc4b8 - Browse repository at this point
Copy the full SHA 96cc4b8View commit details -
Update libs/wingc/src/type_check.rs
Co-authored-by: Chris Rybicki <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for db3bafc - Browse repository at this point
Copy the full SHA db3bafcView commit details -
Configuration menu - View commit details
-
Copy full SHA for c81c979 - Browse repository at this point
Copy the full SHA c81c979View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7113d6f - Browse repository at this point
Copy the full SHA 7113d6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for db6718e - Browse repository at this point
Copy the full SHA db6718eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5055f82 - Browse repository at this point
Copy the full SHA 5055f82View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d9a7d2 - Browse repository at this point
Copy the full SHA 7d9a7d2View commit details -
Signed-off-by: monada-bot[bot] <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5b91ea5 - Browse repository at this point
Copy the full SHA 5b91ea5View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.