
#8114: STG lint panic -------------------------------------+------------------------------------- Reporter: Ptharien's Flame | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: Blocked By: | Blocking: Related Tickets: #5345 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): Indeed reworking the code in question to use `unsafeFreezeByteArray#` resolves the STG lint violation. I've opened a [[https://github.com/bos/text/pull/144|pull request]] against `text` fixing this. Given that this issue is only observed with `unsafeCoerce#` and STG linting is already a bit sketchy, I'm going to close this as won't fix. Thanks for your report! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8114#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler