Closed Luna-Klatzer closed 1 month ago
Attention: Patch coverage is 94.11765%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 84.00%. Comparing base (
5e0ecc5
) to head (41f9b6a
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What type of change does this PR perform?
Summary
Implemented support for index-based array assignment expressions, which allow the modification of individual parts of an array.
Closes #669
Detailed Changelog
Not present for website/docs changes
Added
BuiltInReference
, which replaces the now removed typeReference
in theKipperProgramContext
for reference tracking of built-in types.BuiltInFunction.funcType
, which returns a function type for the built-in function.FunctionDeclarationTypeSemantics.type
, which returns the type of the function declaration i.e. the function type.LambdaPrimaryExpressionTypeSemantics.type
, which returns the type of the lambda primary expression i.e. the function type.Changed
compiler/.../expressions/arithmetic
toarithmetic-expression
.Fixed
Func
instead of the appropriate filled-upFunc<T..., R>
type. This now enables proper type checking for function references.Removed
Reference
as it is no longer needed and has been replaced byKipperReferenceable
.Does this PR create new warnings?
None.
Linked issues or PRs