Skip to content

Provide additional commentary on property pattern#1728

Merged
jskeet merged 1 commit into
draft-v8from
issue-1653
Jul 14, 2026
Merged

Provide additional commentary on property pattern#1728
jskeet merged 1 commit into
draft-v8from
issue-1653

Conversation

@jskeet

@jskeet jskeet commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

if (s is var x2) and if (s is {} x2) look similar; this change explicitly notes the difference.

Definitely open to suggestions of changing where this occurs or how it's expressed. This felt like a minimalist change, which I suspect is all that's required.

Fixes #1653

`if (s is var x2)` and `if (s is {} x2)` look similar; this change explicitly notes the difference.

Definitely open to suggestions of changing where this occurs or how it's expressed. This felt like a minimalist change, which I *suspect* is all that's required.

Fixes #1653

@BillWagner BillWagner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This LGTM. I agree that it's a minimal change that fixes the issue.

@jskeet

jskeet commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

Merging with just one review as it's so trivial.

@jskeet jskeet merged commit d193ab7 into draft-v8 Jul 14, 2026
9 checks passed
@jskeet jskeet deleted the issue-1653 branch July 14, 2026 14:00
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.

Expand example for Property pattern

2 participants