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:

(cherry picked from commit 20ae19fc)
parent 1887441a
......@@ -208,7 +208,7 @@ instance Show TyCon where
-- | @since
instance Show TrName where
showsPrec _ (TrNameS s) = showString (unpackCString# s)
showsPrec _ (TrNameS s) = showString (unpackCStringUtf8# s)
showsPrec _ (TrNameD s) = showString s
-- | @since
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