Fixed remaining warning in coreSyn/MkExternalCore
authorTim Chevalier <chevalier@alum.wellesley.edu>
Wed, 19 Mar 2008 18:25:21 +0000 (18:25 +0000)
committerTim Chevalier <chevalier@alum.wellesley.edu>
Wed, 19 Mar 2008 18:25:21 +0000 (18:25 +0000)
commitd5a9ee0e98a76bca1b41bbc5252e851c88b3ff4c
treefec01e639ee2a1e235b9a35743058a4796d9c022
parent1db2786d0faecf3dd08921c4ba593c5afeee9f2b
Fixed remaining warning in coreSyn/MkExternalCore

There was a (suppressed) warning about an incomplete pattern match in make_alt. This was because the DEFAULT alt never has variable bindings. I thought it would be better to check that case and panic if it happens than to have an incomplete pattern. It's still not great, but at least now we don't have to suppress any warnings in this file.
compiler/coreSyn/MkExternalCore.lhs