Skip to content

Add keyword constructor#2

Merged
tuckermcclure merged 1 commit into
mainfrom
tucker/keyword-constructor
Apr 16, 2026
Merged

Add keyword constructor#2
tuckermcclure merged 1 commit into
mainfrom
tucker/keyword-constructor

Conversation

@tuckermcclure
Copy link
Copy Markdown
Member

This adds a keyword constructor, which allows UTCDate to work with PortableStructs.

It also removed defaults for year, month, and day. There's really not a great reason to construct a UTCDate without all three of those.

@tuckermcclure tuckermcclure requested a review from Copilot April 14, 2026 18:33
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@tuckermcclure tuckermcclure merged commit 914b8a1 into main Apr 16, 2026
1 check passed
@tuckermcclure tuckermcclure deleted the tucker/keyword-constructor branch April 16, 2026 18:24
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.

2 participants