From ff166df59c7b14195a9561259493a3b2480c2e3f Mon Sep 17 00:00:00 2001 From: Zachary Snow Date: Thu, 9 Jul 2020 21:00:23 -0600 Subject: [PATCH] fix conversion of implicitly-typed type parameters --- src/Convert/ParamType.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Convert/ParamType.hs b/src/Convert/ParamType.hs index 85be9d6..b9f4931 100644 --- a/src/Convert/ParamType.hs +++ b/src/Convert/ParamType.hs @@ -236,6 +236,7 @@ isSimpleType typ = IntegerAtom {} -> True NonInteger {} -> True Net {} -> True + Implicit {} -> True Struct _ fields _ -> all (isSimpleType . fst) fields Union _ fields _ -> all (isSimpleType . fst) fields _ -> False