purescript-0.7.2.0: examples/failing/Do.purs
-- @shouldFailWith InvalidDoBind
-- @shouldFailWith InvalidDoLet
module Main where
import Prelude
test1 = do let x = 1
test2 y = do x <- y
test3 = do return 1
return 2
-- @shouldFailWith InvalidDoBind
-- @shouldFailWith InvalidDoLet
module Main where
import Prelude
test1 = do let x = 1
test2 y = do x <- y
test3 = do return 1
return 2