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

disallow string range as of label #1147

Merged
merged 3 commits into from
Jan 30, 2024

Commits on Jan 30, 2024

  1. sem: report an error for string ranges

    They were never explicitly supported, and using them resulted in
    undefined behaviour.
    
    Due to the lack of proper `nkError` propagation, the error has to be
    reported with `localReport` in `semBranchRange` for now.
    zerbina committed Jan 30, 2024
    Configuration menu
    Copy the full SHA
    481b655 View commit details
    Browse the repository at this point in the history
  2. tests: enable tcasestmt for all targets

    * test cases not depending on compile-time execution are moved out of
      `static` blocks
    * `write` is replaced with `echo`. The `output` specification i
      updated accordingly
    zerbina committed Jan 30, 2024
    Configuration menu
    Copy the full SHA
    4a48297 View commit details
    Browse the repository at this point in the history
  3. tests: merge vm/tcasestmt into the general tcasestmt

    Only the tests for float slice-lists are moved, the now-illegal string
    slice-list tests are dropped.
    zerbina committed Jan 30, 2024
    Configuration menu
    Copy the full SHA
    ff508d2 View commit details
    Browse the repository at this point in the history