packages feed

purescript-0.15.15: tests/purs/failing/LetPatterns3.purs

-- @shouldFailWith IncorrectConstructorArity
module Main where

import Prelude

data X a = X a

-- a parameter binder should be with nullary constructor, or with parens
x =
  let
    a X b = b
  in
   a $ X 10