summaryrefslogtreecommitdiff
path: root/lib/Language/Elna/Location.hs
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2024-10-30 14:12:51 +0100
committerEugen Wissner <belka@caraus.de>2024-10-30 14:12:51 +0100
commit43882a3a0697945b35194c2b5940605e9f4dd846 (patch)
tree494bde0fec422937f26b7b1a954adbcd477f7a9b /lib/Language/Elna/Location.hs
parent6b92e5059c04709b3506bb4e7bef29872b16811f (diff)
downloadelna-43882a3a0697945b35194c2b5940605e9f4dd846.tar.gz
Generate a call to _divide_by_zero_error on RiscV
Diffstat (limited to 'lib/Language/Elna/Location.hs')
-rw-r--r--lib/Language/Elna/Location.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Language/Elna/Location.hs b/lib/Language/Elna/Location.hs
index 918ef46..875aa8d 100644
--- a/lib/Language/Elna/Location.hs
+++ b/lib/Language/Elna/Location.hs
@@ -53,6 +53,6 @@ instance Hashable Identifier
where
hashWithSalt salt (Identifier identifier) = hashWithSalt salt identifier
-showArrayType :: Show a => Word32 -> a -> String
+showArrayType :: (Show a, Show b) => a -> b -> String
showArrayType elementCount typeName = concat
["array[", show elementCount, "] of ", show typeName]