Added back a line to Types that I recently removed, but which turns out to be needed

This commit is contained in:
Neil Brown 2009-04-18 20:08:09 +00:00
parent 307b0f906f
commit f4ed82d8f4

View File

@ -182,6 +182,7 @@ plainSubscriptType m (A.Array (_:ds) t)
= return $ case ds of
[] -> t
_ -> A.Array ds t
plainSubscriptType m (A.Mobile t) = plainSubscriptType m t
plainSubscriptType m t = diePC m $ formatCode "Subscript of non-array type: %" t
-- | Turn an expression into a 'Dimension'.