Commit 0b6b9fb5 authored by vivian's avatar vivian

add a test for multiline do, GHCi #4316

This patch ensures the GHCi interpreter recognises multiline do
parent adb2c741
:m Control.Monad.State
flip evalStateT 11 $ do
i <- get
lift $ do
putStrLn "Hello, World!"
print i
......@@ -71,3 +71,4 @@ test('T4087', normal, ghci_script, ['T4087.script'])
test('T4015', normal, ghci_script, ['T4015.script'])
test('T4127', normal, ghci_script, ['T4127.script'])
test('T4127a', normal, ghci_script, ['T4127a.script'])
test('T4316', reqlib('mtl'), ghci_script, ['T4316.script'])
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