Fix assertion error in Scope on encountering a LiteralPattern
This commit is contained in:
parent
093f307098
commit
6ea27d81f4
1 changed files with 2 additions and 0 deletions
|
@ -56,6 +56,8 @@ namespace bolt {
|
|||
Mapping.emplace(Y->Name->Text, std::make_tuple(ToInsert, SymbolKind::Var));
|
||||
break;
|
||||
}
|
||||
case NodeKind::LiteralPattern:
|
||||
break;
|
||||
default:
|
||||
ZEN_UNREACHABLE
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue