mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-07 15:38:47 +00:00
reference fixes, fizes
This commit is contained in:
parent
8a84cfff70
commit
a9d4d3a104
8 changed files with 43 additions and 48 deletions
|
|
@ -360,7 +360,7 @@ void ExecuteVisitor::Visit(ReferenceExpression* node) {
|
|||
utils::ValueType value_type = context_manager_.GetValueType(current_value_);
|
||||
|
||||
current_value_ = context_manager_.AddValue(
|
||||
info::value::ReferenceToValue(node->references, current_value_, context_manager_.GetValueManager()),
|
||||
info::value::ReferenceToValue({node->reference}, current_value_, context_manager_.GetValueManager()),
|
||||
value_type);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue