Skip to content

Fix 2 pre-existing test failures on master (R-TR-1) #807

Description

@gHashTag

Problem

Two tests fail on master:

  1. ternary::tests::test_encode_decode — wrong assertion logic
  2. compiler::tests_hir_pipeline_parity::test_verilog_cast_no_as_keyword — as cast operator not implemented in parser/codegen

Fix

  • Ternary: fix assertion to check round-trip encode→decode
  • Compiler: add KwAs token, lexer recognition, parse_expr_cast in precedence chain, Verilog width-cast emission (N'(expr))

855 pass (up from 853). Zero regressions.

Activity

  1. added a commit that references this issue on May 24, 2026
    fa0b858
  2. gHashTag commented on Jun 17, 2026

    @gHashTag
    OwnerAuthor

    Verified fixed on current master:

    1. ternary::tests::test_encode_decode — PASS (1/1)
    2. compiler::tests_hir_pipeline_parity::test_verilog_cast_no_as_keyword — Test no longer exists in codebase (removed after cast operator implementation)

    Suite passes 534/534 unit tests. Zero failures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority/mediumShould fix in current quarter

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions