Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssa: fix const for named string #917

Merged
merged 1 commit into from
Dec 19, 2024
Merged

Conversation

visualfc
Copy link
Member

@visualfc visualfc commented Dec 16, 2024

fix const type for named string

type T string
var v any = T("hello")
println(v.(T)) // panic: type assertion failed

Copy link

codecov bot commented Dec 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.64%. Comparing base (a05bda9) to head (eaf7e56).
Report is 16 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #917   +/-   ##
=======================================
  Coverage   97.64%   97.64%           
=======================================
  Files          22       22           
  Lines        6279     6289   +10     
=======================================
+ Hits         6131     6141   +10     
  Misses        128      128           
  Partials       20       20           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@xushiwei xushiwei merged commit 539b55f into goplus:main Dec 19, 2024
10 checks passed
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