mirror of https://github.com/zachjs/sv2v.git
fix silly bug preventing structs from being converting
This commit is contained in:
parent
317994ed3a
commit
a059b6e83c
|
|
@ -89,7 +89,7 @@ collectType (Struct (Packed sg) fields _) = do
|
|||
isComplex (Alias _ _) = True
|
||||
isComplex _ = False
|
||||
canUnstructure =
|
||||
all (head fieldClasses ==) (map show fieldClasses) &&
|
||||
all (head fieldClasses ==) fieldClasses &&
|
||||
not (any isComplex fieldTypes)
|
||||
|
||||
collectType _ = return ()
|
||||
|
|
|
|||
Loading…
Reference in New Issue