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

Add warning to suggest to use inline classes when a class has single property #698

Closed
petertrr opened this issue Jan 12, 2021 · 1 comment · Fixed by #716
Closed

Add warning to suggest to use inline classes when a class has single property #698

petertrr opened this issue Jan 12, 2021 · 1 comment · Fixed by #716
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@petertrr
Copy link
Member

https://kotlinlang.org/docs/reference/inline-classes.html

However, only since 1.3. Maybe needs some more considerations.

@petertrr petertrr added documentation Improvements or additions to documentation enhancement New feature or request labels Jan 12, 2021
@aktsay6 aktsay6 self-assigned this Jan 19, 2021
@petertrr
Copy link
Member Author

@aktsay6 also add this rule to codestyle

aktsay6 added a commit that referenced this issue Jan 19, 2021
### What's done:
  * Logic made
  * Added warn tests
aktsay6 added a commit that referenced this issue Jan 19, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Jan 19, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Jan 19, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Jan 19, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Jan 19, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Jan 19, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Jan 19, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Jan 20, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Jan 20, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Jan 21, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Jan 21, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Jan 21, 2021
# Conflicts:
#	diktat-rules/src/main/kotlin/generated/WarningNames.kt
aktsay6 added a commit that referenced this issue Jan 21, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Jan 21, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Jan 21, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Jan 26, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Jan 26, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Jan 26, 2021
# Conflicts:
#	diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/DiktatRuleSetProvider.kt
aktsay6 added a commit that referenced this issue Jan 26, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Jan 26, 2021
### What's done:
  * Fixed bugs
aktsay6 added a commit that referenced this issue Jan 27, 2021
…property (#716)

* feature/inline-classes(#698)

### What's done:
  * Logic made
  * Added warn tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants