Skip to content

test(interpreter): finalizer edge-case tests (promotion & reentrant)#2

Merged
thurzinhos merged 26 commits intomainfrom
feat/arc-helpers-tests
Aug 23, 2025
Merged

test(interpreter): finalizer edge-case tests (promotion & reentrant)#2
thurzinhos merged 26 commits intomainfrom
feat/arc-helpers-tests

Conversation

@thurzinhos
Copy link
Copy Markdown
Collaborator

Adds two tests: finalizer rebind promotion and reentrant allocation inside finalizer to harden Arc strong/weak semantics and prevent regressions. Tests pass locally.

…ginal behavior; keep inc_children on debug heap_register
…o live refs; remove debug traces; tests green (interpreter)
- Updated tests in various files to replace direct `unwrap()` calls with assertions that provide clearer error messages on failure.
- Added checks for lexer token scanning results to ensure proper error handling.
- Introduced assertions for interpreter execution results to capture potential runtime errors.
- Enhanced diagnostics in tests related to `performant` blocks and type inference to ensure compliance with new rules.
- Added new tests for `performant` type errors to validate static checks.
- Improved documentation on `performant` rules and examples to clarify usage and restrictions.
…on; tests: add metrics_arena_demo and metrics value assertions
@thurzinhos thurzinhos added the enhancement New feature or request label Aug 23, 2025 — with GitHub Codespaces
@thurzinhos thurzinhos merged commit f851479 into main Aug 23, 2025
3 checks passed
@thurzinhos thurzinhos deleted the feat/arc-helpers-tests branch August 23, 2025 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant