Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@

Detailed changelog for Perry. See CLAUDE.md for concise summaries.

## v0.5.1114 — test(parity): specify expected exit code for three intentional-throw expected-output tests

`run_parity_tests.sh` compares an expected-output test's process exit code
against `test-parity/expected-exit/<name>.txt`, defaulting to `0` when that
file is absent. Three Perry-specific expected-output tests intentionally end by
throwing a `TypeError` (verifying spec behavior) — their committed
`test-parity/expected/<name>.txt` snapshots already capture the thrown error —
but they had no `expected-exit` entry, so the harness expected exit `0` while
Perry (correctly, matching `node --experimental-strip-types`) exits `1`. That
made all three report a false parity failure even though Perry's output and
exit already match Node.

Adds `test-parity/expected-exit/{test_issue_462_nullish_property_access,
test_issue_510_primitive_method_typeerror,
test_decorators_replacement_unsupported}.txt` each containing `1`. Verified each
now passes via `./run_parity_tests.sh --filter <name>`. No runtime/compiler
change — Perry's behavior was already correct; this only corrects the harness's
expected exit code for these three throw-on-purpose cases.

## v0.5.1113 — fix(inline): #945 restore scalar method inlining for PutValueSet constructors

#4126 ("assignment PutValue descriptor semantics") changed `this.field = x`
Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co

Perry is a native TypeScript compiler written in Rust that compiles TypeScript source code directly to native executables. It uses SWC for TypeScript parsing and LLVM for code generation.

**Current Version:** 0.5.1113
**Current Version:** 0.5.1114


## TypeScript Parity Status
Expand Down
Loading