Subject: Re: bug#17033: 24.3.50; regression in haskell-mode caused by emacs commit 116129

From: Stefan <[email-masked]>
Date: Thu, 20 Mar 2014 12:32:11 -0400

> This line from haskell-mode's haskell-process.el is executed
> (check-type cmd haskell-command)
> which macro expands to become
> (haskell-command cmd)
> but haskell-command is a defstruct, leading to void-function error.

This is an error in haskell-process.el which uses (check-type cmd
haskell-command) on line 1268 before defining the haskell-command struct
on line 1375.

If you hoist the defstruct before the check-type, things should
work again.

        Stefan