Skip to content

fix(system): reject arguments to gc - #615

Open
belowzeroff wants to merge 2 commits into
RayforceDB:devfrom
belowzeroff:fix/system-gc-arity
Open

belowzeroff wants to merge 2 commits into
RayforceDB:devfrom
belowzeroff:fix/system-gc-arity

Conversation

@belowzeroff

Copy link
Copy Markdown
Contributor

What changes for users

.sys.gc continues to perform allocator maintenance when called without arguments. Passing any argument now returns a domain error instead of silently ignoring the input and running GC.

Why

.sys.gc is a zero-argument maintenance command; accepting and discarding values hides caller mistakes and makes invalid programs appear successful.

Validation

  • rfl/system/system_branch_cov: 2/2 passed
  • rfl/system/reserved_namespace: 1/1 passed
  • Full test suite: 3928/3928 passed
  • Release build with -Werror: passed
  • Based on fresh origin/dev (d13bde4c)

This branch has not been deployed

No deployments
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