Filter out empty-typed binders in selector cases.
authorMatthijs Kooijman <m.kooijman@student.utwente.nl>
Thu, 6 Aug 2009 17:19:52 +0000 (19:19 +0200)
committerMatthijs Kooijman <m.kooijman@student.utwente.nl>
Thu, 6 Aug 2009 17:19:52 +0000 (19:19 +0200)
commitd947c778e6e6e95e896cfc6926a4fdf12f16806d
treec0e5bd089842833dbd7475ead4198a485e9c2c04
parentef43775fa674c03d7dda3a6795aa04810dc09baa
Filter out empty-typed binders in selector cases.

This makes sure that the non-empty binders are skipped when calculating
the field number, which prevents overflow when indexing the field names.
cλash/CLasH/VHDL/Generate.hs