The compiler reports it as a warning, and as an error when the language feature that the deprecation names is turned on.
- Code
INLINE_PROPERTY_WITH_BACKING_FIELD_DEPRECATION- Severity
- warning
- Message
Inline property cannot have a backing field.
The compiler reports it as a warning, and as an error when the language feature that the deprecation names is turned on.
- Code
INNER_ON_TOP_LEVEL_SCRIPT_CLASS- Severity
- warning
- Message
Top-level script class cannot be inner.
- Code
INVALID_VERSIONING_ON_RECEIVER_OR_CONTEXT_PARAMETER_POSITION- Severity
- error
- Message
'@IntroducedAt' annotation cannot be used in receiver or context parameter position.
- Code
IS_ENUM_ENTRY- Severity
- error
- Message
'is' over enum entry is prohibited. Use comparison instead.
- Code
MULTIPLE_CONTEXT_LISTS- Severity
- error
- Message
Multiple context parameter lists are forbidden. Put all context parameters in one list.
- Code
NAMED_CONTEXT_PARAMETER_IN_FUNCTION_TYPE- Severity
- error
- Message
Named context parameters in function types are unsupported. Use syntax 'context(Type)' instead.
The compiler reports it as a warning, and as an error when the language feature that the deprecation names is turned on.
- Code
NESTED_CLASS_NOT_ALLOWED_IN_LOCAL- Severity
- warning
- Message
'{}' is prohibited here.
- Code
NO_CONTEXT_ARGUMENT- Severity
- error
- Message
No context argument for '{}' found.
- Code
NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY- Severity
- error
- Message
Missing return statement.
- Code
NON_ABSTRACT_FUNCTION_WITH_NO_BODY- Severity
- error
- Message
Function '{}' without a body must be abstract.
- Code
NON_MEMBER_FUNCTION_NO_BODY- Severity
- error
- Message
Function '{}' must have a body.