vectoriser: fix pvoids problem when vectorising enumerations
authorBen Lippmeier <benl@ouroborus.net>
Tue, 22 Nov 2011 07:16:39 +0000 (18:16 +1100)
committerBen Lippmeier <benl@ouroborus.net>
Tue, 22 Nov 2011 07:16:39 +0000 (18:16 +1100)
commit8e6990acf62abe666f5e05f5fcfc75659cc57839
tree4d8273df16b760bdfae252213b1ac2c5b60ef22c
parentf7d99de6d008014722a8b2ab07b521802dea0748
vectoriser: fix pvoids problem when vectorising enumerations

Also give a civilised error message when the data type to vectorised contains no data.
compiler/vectorise/Vectorise/Builtins.hs
compiler/vectorise/Vectorise/Builtins/Base.hs
compiler/vectorise/Vectorise/Builtins/Initialise.hs
compiler/vectorise/Vectorise/Generic/Description.hs
compiler/vectorise/Vectorise/Generic/PAMethods.hs