Skip to content

Conversation

MarkTheHopeful
Copy link

No description provided.

}
```
Similar to object literals and [inner classes][Nested and inner classifiers], only inner classes are allowed in local classes. Interfaces, objects or nested classes are forbidden.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Similar to object literals and [inner classes][Nested and inner classifiers], only inner classes are allowed in local classes. Interfaces, objects or nested classes are forbidden.
Local classes have restrictions similar to object literals and [inner classes][Nested and inner classifiers]; only inner classes are allowed in local classes. Nested classes, interfaces or objects are forbidden.

@ice-phoenix ice-phoenix merged commit f9a29c0 into Kotlin:develop Mar 7, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants