Skip to content

Added supports() and assert_supported() - #2026

Open
revarbat wants to merge 3 commits into
masterfrom
revarbat_dev
Open

Added supports() and assert_supported()#2026
revarbat wants to merge 3 commits into
masterfrom
revarbat_dev

Conversation

@revarbat

Copy link
Copy Markdown
Member

No description provided.

revarbat and others added 3 commits July 15, 2026 05:46
supports() was passing the literal "separate-children" to
supported_feature() instead of its own feature argument, so the
argument was ignored.

Add test_supports and test_assert_supported to
tests/test_version.scadtest. Both are written to work on interpreters
with and without $_SUPPORTED_FEATURE support: on a stock OpenSCAD the
guard short-circuits and the assert_supported body is skipped, while
on BelfrySCAD the live paths are exercised.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant