codeworld
codeworld copied to clipboard
Broken pattern replacement on partial error message
Program: https://code.world/#PPr2AJJjIHN5eZkrDrPBO8Q
Comment:
44tttes5s56tyhtyzt
Message:
program.hs:1:19-22: error:
Variable not in scope: text :: Text
Perhaps you meant to put quotation marks around this text. -> Picture
The variable not in scope has type Text -> Picture, but the rewriter sees foo :: Text and ends up missing the -> Picture but, leaving a very confusingly mangled message.