mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
link to issue
This commit is contained in:
parent
cf5054c836
commit
60fcb6089d
1 changed files with 7 additions and 1 deletions
|
@ -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.",
|
||||
)
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue