mirror of https://github.com/zachjs/sv2v.git
fix conversion of implicitly-typed type parameters
This commit is contained in:
parent
a7673c55fd
commit
ff166df59c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue