link to issue

This commit is contained in:
Anton-4 2025-01-24 15:27:34 +01:00
parent cf5054c836
commit 60fcb6089d
No known key found for this signature in database
GPG key ID: 0971D718C0A9B937

View file

@ -1241,7 +1241,13 @@ impl<'a> ReuseEnvironment<'a> {
Retrieve the layout of a symbol.
*/
fn get_symbol_layout(&self, symbol: Symbol) -> &LayoutOption<'a> {
self.symbol_layouts.get(&symbol).expect("Expected symbol to have a layout. It should have been inserted in the environment already.")
self.symbol_layouts
.get(&symbol)
.expect(
"Expected symbol to have a layout. \
It should have been inserted in the environment already. \
We are investigating this issue, follow github.com/roc-lang/roc/issues/7461 for updates.",
)
}
/**