projects
/
matthijs
/
master-project
/
cλash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e99712
)
Add an error message.
author
Matthijs Kooijman
<m.kooijman@student.utwente.nl>
Wed, 21 Jan 2009 10:52:37 +0000
(11:52 +0100)
committer
Matthijs Kooijman
<m.kooijman@student.utwente.nl>
Wed, 21 Jan 2009 10:52:37 +0000
(11:52 +0100)
Translator.hs
patch
|
blob
|
history
diff --git
a/Translator.hs
b/Translator.hs
index 18c45d770589e62d4a19bbcebbda82bed5c5ade3..daf829258b388839959c5ca6d83becd1305645ef 100644
(file)
--- a/
Translator.hs
+++ b/
Translator.hs
@@
-165,7
+165,8
@@
getInstantiations args outs binds app@(App expr arg) =
where
((Var f), args) = collectArgs app
-getInstantiations args outs binds expr = showSDoc $ ppr $ expr
+getInstantiations args outs binds expr =
+ error $ "Unsupported expression" ++ (showSDoc $ ppr $ expr)
-- Map the output port of a component to the output port of the containing
-- entity.