Commit 20ae19fc 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
parent 41db237e
......@@ -215,7 +215,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