This commit is contained in:
Folkert 2021-06-21 23:14:05 +02:00
parent f57e7a6eed
commit 98b4930054
7 changed files with 14 additions and 14 deletions

View file

@ -1040,7 +1040,7 @@ fn path_to_expr_help<'a>(
match &layout {
Layout::Union(union_layout) => {
let inner_expr = Expr::CoerceToTagId {
let inner_expr = Expr::UnionAtIndex {
tag_id: *tag_id,
structure: symbol,
index,