object-introspection
object-introspection copied to clipboard
Incomplete raw pointers fail codegen for OID but succeed for OIL
test/integration/pointers_incomplete.toml contains tests for which OIL successfully codegens but OID does not. This is unusual as most of the code path is the same. The affected tests are:
-
OidIntegration.pointers_incomplete_raw_no_follow(has no oil equivalent but if enabled it passes) -
OidIntegration.pointers_incomplete_raw_no_follow -
OidIntegration.pointers_incomplete_raw_null
Probably related to #19
No longer failing with codegen-v2, but the results are weird: in the top level case (IncompleteStruct*) you get an entry for the IncompleteStruct, but with other cases like std::unique_ptr<IncompleteStruct> you get an entry for the std::unique_ptr but no entry for the IncompleteStruct.