mirror of
https://github.com/zachjs/sv2v.git
synced 2026-09-02 19:29:42 +02:00
fix silly bug preventing structs from being converting
This commit is contained in:
@@ -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 ()
|
||||
|
||||
Reference in New Issue
Block a user