You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NSDecimal is a bitfield struct, which is not supported, so it is treated as an incomplete struct. However, this check happens after methods/functions are parsed, so the usual check that ignores functions that take/return incomplete structs doesn't work.
The best fix would probably just be to move the bitfield check earlier in the parsing.
The text was updated successfully, but these errors were encountered:
However, this check happens after methods/functions are parsed
This is wrong. The issue is that NSDecimal is being used as a property. I didn't implement the incomplete struct check for properties, because you can't use an incomplete struct as a property (since the property becomes field on the class). But you can use bit fields as properties. So I just need to implement this check for properties.
For bitfields by value we might need Dart VM support, because currently we need to emit chars/uint16/uint32/uint64 structs to ensure alignment is correct.
NSDecimal is a bitfield struct, which is not supported, so it is treated as an incomplete struct. However, this check happens after methods/functions are parsed, so the usual check that ignores functions that take/return incomplete structs doesn't work.
The best fix would probably just be to move the bitfield check earlier in the parsing.
The text was updated successfully, but these errors were encountered: