Skip to content

Conversation

cuiweixie
Copy link
Contributor

No description provided.

@Copilot Copilot AI review requested due to automatic review settings August 22, 2025 01:19
Copy link
Contributor

@Copilot 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.

Pull Request Overview

This PR refactors a type assertion in the ordered map implementation to use the new reflect.TypeAssert function instead of the traditional type assertion pattern with Interface().

  • Replaces k.Interface().(encoding.TextMarshaler) with reflect.TypeAssert[encoding.TextMarshaler](k)

@jakebailey jakebailey enabled auto-merge August 22, 2025 01:20
@jakebailey jakebailey added this pull request to the merge queue Aug 22, 2025
Merged via the queue into microsoft:main with commit 6ca9119 Aug 22, 2025
22 checks passed
zshannon pushed a commit to zshannon/typescript-go that referenced this pull request Oct 6, 2025
zshannon pushed a commit to zshannon/typescript-go that referenced this pull request Oct 6, 2025
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