From 43882a3a0697945b35194c2b5940605e9f4dd846 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Wed, 30 Oct 2024 14:12:51 +0100 Subject: Generate a call to _divide_by_zero_error on RiscV --- lib/Language/Elna/Location.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Language/Elna/Location.hs') 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] -- cgit v1.2.3