Fix pattern field completions not working for unions

This commit is contained in:
Lukas Wirth 2022-08-09 17:53:16 +02:00
parent e1e93c4438
commit 8c9359b072
5 changed files with 140 additions and 116 deletions

View file

@ -617,7 +617,6 @@ pub(super) fn complete_name_ref(
dot::complete_undotted_self(acc, ctx, path_ctx, expr_ctx);
item_list::complete_item_list_in_expr(acc, ctx, path_ctx, expr_ctx);
record::complete_record_expr_func_update(acc, ctx, path_ctx, expr_ctx);
snippet::complete_expr_snippet(acc, ctx, path_ctx, expr_ctx);
}
PathKind::Type { location } => {