Skip to content

Conversation

@kim-em
Copy link
Collaborator

@kim-em kim-em commented Jan 7, 2026

This PR adds an EmptyCollection instance for MessageLog, allowing
the use of {} syntax in contexts that require an empty message log.

🤖 Prepared with Claude Code

This PR adds an `EmptyCollection` instance for `MessageLog`, allowing
the use of `{}` syntax in contexts that require an empty message log.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@kim-em kim-em added the changelog-language Language features and metaprograms label Jan 7, 2026
@kim-em
Copy link
Collaborator Author

kim-em commented Jan 7, 2026

Closing - adding EmptyCollection MessageLog creates ambiguity with the structure literal syntax for {}. The existing uses of {} become ambiguous between structure literals and EmptyCollection.emptyCollection.

@kim-em kim-em closed this Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-language Language features and metaprograms

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants