Update src/Parsers/ASTFunction.cpp

Co-authored-by: SmitaRKulkarni <64093672+SmitaRKulkarni@users.noreply.github.com>
This commit is contained in:
Vitaly Baranov 2023-01-31 14:43:30 +01:00 committed by GitHub
parent 48023a297f
commit c6be69568a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@ namespace
result.start = index;
result.are_named = argument_is_named;
}
chassert(index >= result.start); /// We always check arguments consequently.
chassert(index >= result.start); /// We always check arguments consecutively
result.count = index + 1 - result.start;
if (!argument_is_named)
result.are_named = false;