purescript-0.15.15: tests/purs/warning/DeprecatedCaseOfOffsideSyntax1.purs
-- @shouldWarnWith WarningParsingModule
module DeprecatedCaseOfOffsideSyntax1 where
data Foo = Foo Int
test :: Foo -> Int
test = case _ of
Foo i ->
i
-- @shouldWarnWith WarningParsingModule
module DeprecatedCaseOfOffsideSyntax1 where
data Foo = Foo Int
test :: Foo -> Int
test = case _ of
Foo i ->
i