pub fn compute_pattern_semantic(
ctx: &mut ComputationContext<'_>,
syntax: &Pattern,
ty: TypeId,
or_pattern_variables_map: &mut UnorderedHashMap<SmolStr, LocalVariable>,
) -> PatternAndId
Expand description
Computes the semantic model of a pattern. Note that this pattern will always be “registered” in the arena, so it can be looked up in the language server.