Skip to content

Fix build with string-interpolate 1.0.0.0 - #62

Merged
thomasjm merged 2 commits into
masterfrom
fix-string-interpolate-1.0
Oct 13, 2026
Merged

thomasjm merged 2 commits into
masterfrom
fix-string-interpolate-1.0

Conversation

@thomasjm

Copy link
Copy Markdown
Contributor

string-interpolate 1.0.0.0 switched its interpolation parser to ghc-hs-meta, whose toType only handles bare type variables and constructors. Applied types like Proxy a hit an error call at compile time, so the two (Proxy :: Proxy a) annotations inside [i|...|] broke every cabal CI job.

Use visible type application instead, which ghc-hs-meta does handle, and which matches the style already used for the Map/HashMap instances. Verified the library and test suite build and all 49 tests pass against both string-interpolate 1.0.0.0 and the 0.3.x pinned by the stack snapshots.

@thomasjm
thomasjm merged commit c820ce7 into master Oct 13, 2026
44 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.

1 participant