Parse the variables in a type signature in the order given (Trac #8945)
authorSimon Peyton Jones <simonpj@microsoft.com>
Thu, 3 Apr 2014 14:55:46 +0000 (15:55 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Thu, 3 Apr 2014 14:55:46 +0000 (15:55 +0100)
commitb20bc181d8ba496f866c44ae65d26118c2c502a1
treebedad51816240c0061a69df53562b180af5cc93f
parent8bf8ce1e7cb1b97a1f18ec6f5552e339808ffba9
Parse the variables in a type signature in the order given (Trac #8945)

This is just making the parser behave more sensibly, and return
the list [x,y,z] from the signature
   x,y,z :: Int
rathe than [x,z,y] as now.

Turns out that the other use of sig_vars *did* do the right
thing already.
compiler/parser/Parser.y.pp