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
Primitive types and value structs (copy types) should be returnable from inner scopes without promote(). The realm checker must not produce false positive errors for them.
Acceptance Criteria
i32 x = stack_fn() where stack_fn is stack-realm → no realm escape error
Pointer return from inner scope without promote → realm escape error (correct)
All primitive types (i8, i16, i32, i64, u8, u16, u32, u64, f32, f64, bool, char) treated as copy types
Summary
Primitive types and value structs (copy types) should be returnable from inner scopes without
promote(). The realm checker must not produce false positive errors for them.Acceptance Criteria
i32 x = stack_fn()wherestack_fnis stack-realm → no realm escape errorDepends on
Related