Commit b88228d5 authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari

base: Fix Unicode handling of TyCon's Show instance

Test Plan: `make test TEST=T14925`

Reviewers: hvr, dfeuer

Reviewed By: dfeuer

Subscribers: rwbarton, thomie, carter

GHC Trac Issues: #14925

Differential Revision: https://phabricator.haskell.org/D4530

(cherry picked from commit 20ae19fc)
parent 1887441a
......@@ -208,7 +208,7 @@ instance Show TyCon where
-- | @since 4.9.0.0
instance Show TrName where
showsPrec _ (TrNameS s) = showString (unpackCString# s)
showsPrec _ (TrNameS s) = showString (unpackCStringUtf8# s)
showsPrec _ (TrNameD s) = showString s
-- | @since 4.9.0.0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment