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

better dependent-expression support for range types #850

Commits on Aug 20, 2023

  1. Configuration menu
    Copy the full SHA
    ace3d7b View commit details
    Browse the repository at this point in the history
  2. semtypes: don't sem potentially generic range/index expressions

    Range expressions and expressions in the array-index type position are
    now first sem'ed as generic expressions, and only if they don't depend
    on type variables are they fully semantically analyzed.
    
    This is going to require some changes to the type variables replacing
    logic in `semtypinst`. As a preparation for this, the AST coming out of
    the generic pre-pass is pre-processed to have symbols bound for all type
    variables.
    zerbina committed Aug 20, 2023
    Configuration menu
    Copy the full SHA
    889ad7f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c634e0b View commit details
    Browse the repository at this point in the history
  4. tests: add tests for the fixed issues

    In addition, the test labeled `tsharedcases` is changed back to its
    correct original title `tgenericshardcases`.
    zerbina committed Aug 20, 2023
    Configuration menu
    Copy the full SHA
    9784231 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. tests: add a test for ranges

    Doesn't work yet, due to unrelated issues with `typeRel`.
    zerbina committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    71841af View commit details
    Browse the repository at this point in the history
  2. semtypinst: fix a doc comment typo

    Co-authored-by: Saem Ghani <[email protected]>
    zerbina and saem authored Aug 22, 2023
    Configuration menu
    Copy the full SHA
    96a815b View commit details
    Browse the repository at this point in the history