Skip to content

Fix slice_compute_data_size? parameter type in stdlib.fc#336

Open
a08778 wants to merge 1 commit intoton-org:developfrom
a08778:patch-1
Open

Fix slice_compute_data_size? parameter type in stdlib.fc#336
a08778 wants to merge 1 commit intoton-org:developfrom
a08778:patch-1

Conversation

@a08778
Copy link
Copy Markdown

@a08778 a08778 commented Jan 15, 2026

Corrects the function signature of slice_compute_data_size? in stdlib.fc. The function was incorrectly declared with a cell parameter, while the underlying SDATASIZEQ instruction operates on a slice. This change updates the parameter type to slice to match actual usage and prevent type errors.

Issue

Closes #

Checklist

Please ensure the following items are completed before requesting review:

  • Updated CHANGELOG.md with relevant changes
  • Documented the contribution in README.md
  • Added tests to demonstrate correct behavior (both positive and negative cases)
  • All tests pass successfully (yarn test)
  • Code passes linting checks (yarn lint)

Corrects the function signature of slice_compute_data_size? in stdlib.fc.
The function was incorrectly declared with a `cell` parameter, while the underlying SDATASIZEQ instruction operates on a `slice`. This change updates the parameter type to `slice` to match actual usage and prevent type errors.
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