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

Updates rules for variable resolution #1508

Merged

Conversation

johnedquinn
Copy link
Member

@johnedquinn johnedquinn commented Jul 11, 2024

Description

  • This increases conformance by 184 tests (3.14%). See the report.
  • This updates rules for variable resolution
  • Adds support for casting from dynamic
  • Updates tests to give greater visibility into errors

Other Information

License Information

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@johnedquinn johnedquinn marked this pull request as ready for review July 12, 2024 21:32
Adds support for casting from dynamic

Updates tests to give greater visibility into errors
@johnedquinn johnedquinn force-pushed the v1-conformance-variable-resolution branch from 304514e to e25056c Compare July 12, 2024 21:38
Renames Scope to Strategy

Initializes TypeEnv to represent both locals and globals
@johnedquinn
Copy link
Member Author

I think we should consider a "scope" class ...

I performed a minimal update by renaming TypeEnv to an internal Scope (representing locals). Renamed internal Scope to Strategy. And I created a new internal class called TypeEnv that wraps both locals and globals. Since everything is internal, we can change the name as we see fit.

@johnedquinn johnedquinn requested a review from RCHowell July 15, 2024 23:05
@johnedquinn johnedquinn merged commit 8b4e0d3 into partiql:v1 Jul 15, 2024
7 checks passed
@johnedquinn johnedquinn deleted the v1-conformance-variable-resolution branch July 15, 2024 23:19
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