Skip to content

Fix issue 856#857

Merged
knocte merged 2 commits into
fsprojects:masterfrom
webwarrior-ws:issue-856
Jun 4, 2026
Merged

Fix issue 856#857
knocte merged 2 commits into
fsprojects:masterfrom
webwarrior-ws:issue-856

Conversation

@webwarrior-ws
Copy link
Copy Markdown
Contributor

Made getHashCode take into account all parts of interpolated strings. This is needed for hint matcher to distinguish between interpolated strings with the same fill expressions but different literal text segments.

Also added a regression test.

Fixes #856

Added regression test for HintMatcher when interpolated strings
have different literal text content but contain the same fill
expressions.
Made getHashCode take into account all parts of interpolated
strings. This is needed for hint matcher to distinguish between
interpolated strings with the same fill expressions but
different literal text segments.
@knocte
Copy link
Copy Markdown
Collaborator

knocte commented Jun 4, 2026

@webwarrior-ws please push 1 by 1

@webwarrior-ws
Copy link
Copy Markdown
Contributor Author

@webwarrior-ws please push 1 by 1

Pushed.

@knocte knocte merged commit 0a543fd into fsprojects:master Jun 4, 2026
16 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.

bug: Interpolated strings with different literal text content wrongly considered equal

2 participants