Remove NumericUnderscores for older GHCs

This commit is contained in:
Michael Snoyman 2022-03-24 10:29:28 +02:00
parent 60111462de
commit 3d65a3bf16
No known key found for this signature in database
GPG Key ID: 907EAE2F42B52046

View File

@ -1,6 +1,5 @@
{-# LANGUAGE TypeFamilies, QuasiQuotes, TemplateHaskell, MultiParamTypeClasses, OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE NumericUnderscores #-}
{-# LANGUAGE ViewPatterns #-}
module YesodCoreTest.ErrorHandling
( errorHandlingTest
@ -144,7 +143,7 @@ getAsyncSessionR = do
setSession "jap" $ foldMap (pack . show) [0..999999999999999999999999] -- it's going to take a while to figure this one out
x <- liftIO Conc.myThreadId
liftIO $ forkIO $ do
liftIO $ Conc.threadDelay 100_000
liftIO $ Conc.threadDelay 100000
Conc.killThread x
pure "reachable"