purescript-0.9.1: 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 pure 1
pure 2
-- @shouldFailWith InvalidDoBind
-- @shouldFailWith InvalidDoLet
module Main where
import Prelude
test1 = do let x = 1
test2 y = do x <- y
test3 = do pure 1
pure 2