We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cefab0 commit ab92622Copy full SHA for ab92622
src/ast/node/types.rs
@@ -618,6 +618,8 @@ impl StructDefNode {
618
st,
619
ctx,
620
);
621
+ // An inkwell bug on windows, remove this line may result in an assert panic
622
+ builder.clear_insertion_position();
623
// gen st vist function must be called after add_body_to_struct_type
624
builder.gen_st_visit_function(ctx, st, &field_pltps);
625
}
0 commit comments