Reproduce mono::ir panic

This commit is contained in:
Richard Feldman 2022-01-22 19:06:05 -05:00
parent bfd95d4627
commit c59aa22402
No known key found for this signature in database
GPG key ID: 7E4127D1E4241798
2 changed files with 3 additions and 2 deletions

View file

@ -7204,7 +7204,8 @@ fn call_by_name_help<'a>(
} else { } else {
debug_assert!( debug_assert!(
!field_symbols.is_empty(), !field_symbols.is_empty(),
"should be in the list of imported_module_thunks" "{} should be in the list of imported_module_thunks",
proc_name
); );
debug_assert_eq!( debug_assert_eq!(

View file

@ -8,7 +8,7 @@ render :
[ [
Rectangle { top : F32, left : F32, bottom : F32, right : F32 }, Rectangle { top : F32, left : F32, bottom : F32, right : F32 },
Circle { top : F32, left : F32, radius : F32 }, Circle { top : F32, left : F32, radius : F32 },
# Text { top : F32, left : F32, text : Str }, # Text { top : F32, left : F32, text : Str },
] ]
render = \window -> render = \window ->
Rectangle { top: 10, left: 10, bottom: 100, right: 100 } Rectangle { top: 10, left: 10, bottom: 100, right: 100 }