023 disconnect before rollback

✗ Failing This test is currently failing.

Failed: frontend

Failure Output

error[PARSE005]: redundant explicit label 'tx:' — the value 'tx' already puns to 'tx'
  --> tests/regression/300_ADVANCED_FEATURES/335_OBLIGATION_STRESS/335_023_disconnect_before_rollback/input.kz:20:1
    |
 20 |         | then |> app/db:disconnect(conn: c) |> app/db:rollback(tx: tx, conn: c)
    | ^
  hint: drop the label: write 'tx' instead of 'tx: tx'

Code

input.kz

Must contain:

Use-after-discharge

Error Verification

Actual Compiler Output

error[PARSE005]: redundant explicit label 'tx:' — the value 'tx' already puns to 'tx'
  --> tests/regression/300_ADVANCED_FEATURES/335_OBLIGATION_STRESS/335_023_disconnect_before_rollback/input.kz:20:1
    |
 20 |         | then |> app/db:disconnect(conn: c) |> app/db:rollback(tx: tx, conn: c)
    | ^
  hint: drop the label: write 'tx' instead of 'tx: tx'

Imported Files

db.kz

Test Configuration

MUST_FAIL