Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Classes that inherit sealed class should not be in a one file anymore #162

Merged
merged 3 commits into from
Nov 14, 2022

Conversation

orchestr7
Copy link
Owner

What's done:

  • separated tree node classes

### What's done:
- separated tree node classes
Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

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

ktlint found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.

@orchestr7
Copy link
Owner Author

orchestr7 commented Nov 11, 2022

@NightEule5 I just split children of sealed classes (we can do it with new Kotlin) to make the file structure more obvious

'\'' -> if (this.startsWith("'''")) {
// TomlMultilineString(this, lineNo)
Copy link
Collaborator

Choose a reason for hiding this comment

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

commented code

Copy link
Owner Author

@orchestr7 orchestr7 Nov 13, 2022

Choose a reason for hiding this comment

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

thank you 🙏 @nulls , fixed and added comment
soon we will support multiline strings and it will be removed

@orchestr7 orchestr7 merged commit e6faa49 into main Nov 14, 2022
@orchestr7 orchestr7 deleted the feauture/refactoring-sealed branch November 14, 2022 19:32
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