fix conversion of implicitly-typed type parameters

This commit is contained in:
Zachary Snow 2020-07-09 21:00:23 -06:00
parent a7673c55fd
commit ff166df59c
1 changed files with 1 additions and 0 deletions

View File

@ -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