blob: 7c52807b42ccc03a21e67697cefbf801c8623267 (
plain)
1
2
3
4
5
6
7
8
9
10
|
module Main where
-- #15559: Add HasCallStack to fromJust
import Data.Maybe ( fromJust )
main :: IO ()
main = do
_ <- fromJust Nothing `seq` return ()
putStrLn "Should see a stacktrace instead of this"
|