Closed Luna-Klatzer closed 1 month ago
Attention: Patch coverage is 83.39798%
with 214 lines
in your changes missing coverage. Please review.
Project coverage is 83.15%. Comparing base (
7b38fe2
) to head (0100595
). Report is 131 commits behind head on next.
: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
New development release
0.12.0-alpha.0
, which overhauls the entire core type system, adds support for arrays, adds object literal expressions and basic support generation for interfaces.Detailed Changelog
Not present for website/docs changes
Added
Array<T>
type and single-type array initializers. (#499)semantics/runtime-built-ins
, which contains runtime built-in functions, variables and types.semantics/runtime-internals
, which contains the runtime internal functions.semantics/types
, which contains the runtime types.InterfaceDeclaration
, which represents an AST interface declaration.ClassDeclaration
, which represents an AST class declaration.BuiltInType
, which represents a built-in type.CustomType
, which represents a user defined type.ScopeTypeDeclaration
, which represents a scope type declaration.UniverseTypeDeclaration
, which represents the universe, where all built-in types, functions and variables are declared. This serves as the parent of the global scope.CustomType
, which is a class extending fromProcessedType
and implementing the functionality for a custom type such as a interface or class.TypeCanNotBeUsedForTypeCheckingError
, which is thrown when a type is used for type checking, but is not a valid type. This is an error indicating an invalid logic that should be fixed.GenericArgumentTypeError
, which is thrown when a generic argument is used with an invalid type. This is an error indicating an invalid logic that should be fixed.InvalidAmountOfGenericArgumentsError
, which is thrown when an invalid amount of generic arguments is used. This is an error indicating an invalid logic that should be fixed.CanNotUseNonGenericAsGenericTypeError
, which is thrown when a non-generic type is used as a generic type. This is an error indicating an invalid logic that should be fixed.InterfaceDeclarationSemantics
, which represents the semantics of an interface declaration.InterfaceDeclarationTypeSemantics
, which represents the type semantics of an interface declaration.ClassDeclarationSemantics
, which represents the semantics of a class declaration.ClassDeclarationTypeSemantics
, which represents the type semantics of a class declaration.TypeDeclaration
, which represents a type declaration. This is an abstract base class for all type declarations.TypeDeclarationSemantics
, which represents the semantics of a type declaration.TypeDeclarationTyp
KipperTypeChecker.validArrayExpressioneSemantics
, which represents the type semantics of a type declaration.CompilableType
, which represents a type that can be compiled.KipperTypeChecker.validArrayExpression
, which ensures that an array expression is valid.Changed
InternalFunction
, which represents an internal function.BuiltInFunction
, which represents a built-in function.InternalFunctionArgument
, which represents an internal function argument.BuiltInVariable
, which represents a built-in variable.analysis
tosemantics
.UncheckedType
toRawType
.CheckedType
toProcessedType
.UndefinedCustomType
toUndefinedType
.Does this PR create new warnings?
None.
Linked issues or PRs