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

chore: Add elaborator to CI #5170

Closed
wants to merge 3 commits into from
Closed

chore: Add elaborator to CI #5170

wants to merge 3 commits into from

Conversation

jfecher
Copy link
Contributor

@jfecher jfecher commented Jun 4, 2024

Description

Problem*

Resolves

Summary*

Adds the elaborator to our CI test_programs tests and frontend tests. At the time of writing this is expected to still be failing a couple tests.

After #5169 is merged, there should only be two failing tests related to globals with function calls in their RHS. We can wait to merge this PR until all tests are fixed, this PR is mostly to help track progress on CI.

Additional Context

Documentation*

Check one:

  • No documentation needed.
  • Documentation included in this PR.
  • [For Experimental Features] Documentation to be submitted in a separate PR.

PR Checklist*

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

@TomAFrench TomAFrench marked this pull request as ready for review June 4, 2024 16:30
@TomAFrench
Copy link
Member

@jfecher Shall we just add #[ignore] attribute for these so we can merge this PR? We can enable those tests when we're ready but will avoid people having to explicitly remember to add elaborator versions of any code they change.

@jfecher
Copy link
Contributor Author

jfecher commented Jun 4, 2024

These bugs are fixed in #5172 (which also includes this PR) so we can just wait for that to merge. Closing this.

@jfecher jfecher closed this Jun 4, 2024
github-merge-queue bot pushed a commit that referenced this pull request Jun 5, 2024
…5172)

# Description

## Problem\*

Resolves an issue where we would give a type error if a global ever used
a function call in its definition.

## Summary\*

This one was more difficult to fix than it seemed since fixing the main
bug revealed progressively more bugs.

## Additional Context

#5170 is included here as well to
help me see that all tests are now passing.

## Documentation\*

Check one:
- [x] No documentation needed.
- [ ] Documentation included in this PR.
- [ ] **[For Experimental Features]** Documentation to be submitted in a
separate PR.

# PR Checklist\*

- [x] I have tested the changes locally.
- [x] I have formatted the changes with [Prettier](https://prettier.io/)
and/or `cargo fmt` on default settings.

---------

Co-authored-by: Tom French <[email protected]>
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.

2 participants