022 disconnect before commit

✗ 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_022_disconnect_before_commit/input.kz:19:1
    |
 19 |     | started tx |> app/db:disconnect(conn: c) |> app/db:commit(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_022_disconnect_before_commit/input.kz:19:1
    |
 19 |     | started tx |> app/db:disconnect(conn: c) |> app/db:commit(tx: tx, conn: c)
    | ^
  hint: drop the label: write 'tx' instead of 'tx: tx'

Imported Files

db.kz

Test Configuration

MUST_FAIL