mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-05 22:48:42 +00:00
.
This commit is contained in:
parent
e75652afc3
commit
f6de515b2c
1 changed files with 3 additions and 4 deletions
|
|
@ -752,10 +752,9 @@ void ExecuteVisitor::CheckPattern(Pattern& node, const BaseNode& base_node) {
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
Visitor::Visit(*std::get<std::unique_ptr<Literal>>(node));
|
Visitor::Visit(*std::get<std::unique_ptr<Literal>>(node));
|
||||||
error_handling::HandleInternalError("Unimplemented EqualValues", "ExecuteVisitor.CheckPattern");
|
if (!context_manager_.EqualValues(current_value_, value)) { // TODO
|
||||||
// if (!context_manager_.EqualValues(current_value_, value)) { // TODO
|
case_matched_ = false;
|
||||||
// case_matched_ = false;
|
}
|
||||||
// }
|
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
Visit(std::get<std::unique_ptr<TypeConstructorPattern>>(node).get());
|
Visit(std::get<std::unique_ptr<TypeConstructorPattern>>(node).get());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue