Skip to content

Implement the 4 empty function bodies in specs/tri/collections/option.t27 - #4105

Closed
gHashTag wants to merge 1 commit into
masterfrom
queen-3746
Closed

gHashTag wants to merge 1 commit into
masterfrom
queen-3746

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

Closes #3746

Opened from the bee branch queen-3746, which was pushed but never turned into a pull request. Every changed path is inside the boundary the issue declares:

  • specs/tri/collections/option.t27

The acceptance criteria are structural and were checked by the swarm, not by a human; the review-side oracle is what decides whether the generated code compiles and passes its tests.

- Implement some(value: T) -> Option(T) that creates an Option with is_some=true
- Implement none() -> Option(bool) that creates an Option with is_some=false
- Implement unwrap_or(opt: Option(T), default: T) -> T that returns opt.value if is_some or default otherwise
- Implement is_some(opt: Option(T)) -> bool that returns opt.is_some
- Add comprehensive tests for all functions with proper assertions
- Fix function signatures to match expected return types

Closes #3746
@gHashTag
gHashTag enabled auto-merge September 17, 2026 07:08
This was referenced Sep 17, 2026
@gHashTag

Copy link
Copy Markdown
Owner Author

Superseded by #4272, which takes this branch's version of specs/tri/collections/option.t27 onto current master.

This pull request cannot merge: the file was overwritten on master by a version that does not parse (t27c spec-status prints NOPARSE), so git reports a conflict and GitHub runs no required check. Rather than rebase 14 branches, #4272 carries all of their files in one commit, measured: specs/tri/collections/option.t27 prints IMPLEMENTED with zero not yet implemented stubs, and the corpus goes from 79 unparseable specs to 65.

Closing this one; the work itself is in #4272 and issue #3746 closes with it.

@gHashTag gHashTag closed this Sep 18, 2026
auto-merge was automatically disabled September 18, 2026 14:19

Pull request was closed

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.

Implement the 4 empty function bodies in specs/tri/collections/option.t27

1 participant