mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-08 07:58:44 +00:00
type_check_visitor fixes, array access and function call syntax change
This commit is contained in:
parent
f7080ba856
commit
c1dec6a0d1
16 changed files with 426 additions and 311 deletions
|
|
@ -985,7 +985,7 @@ void BuildVisitor::Visit(FunctionCallExpression* node) {
|
|||
|
||||
size_t child_count = parse_node.NamedChildCount();
|
||||
|
||||
if (child_count > excluded_child_count) { // always true (repeat1)
|
||||
if (child_count > excluded_child_count) {
|
||||
bool parameters_ended = false;
|
||||
|
||||
node->arguments.resize(child_count - excluded_child_count);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue