-
Notifications
You must be signed in to change notification settings - Fork 39
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
Bugfix. ClassCastException in IndentationRule when blank line is added after @implNote tag in KDoc #527
Conversation
### What's done: * Fixed bugs
Codecov Report
@@ Coverage Diff @@
## master #527 +/- ##
============================================
- Coverage 81.68% 81.68% -0.01%
- Complexity 1641 1652 +11
============================================
Files 79 83 +4
Lines 4139 4204 +65
Branches 1307 1312 +5
============================================
+ Hits 3381 3434 +53
- Misses 229 238 +9
- Partials 529 532 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
### What's done: * Fixed bugs
### What's done: * test diktat snapshot (action)
### What's done: * test diktat snapshot (action)
### What's done: * test diktat snapshot (action)
### What's done: * test diktat snapshot (action)
### What's done: * Fixed bugs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a fix for a redundant blank line. What about ClassCastException triggers in IndentationRule
as stated in the issue? You should reproduce it in smoke test.
### What's done: * Fixed bugs
# Conflicts: # diktat-rules/src/test/resources/test/smoke/src/main/kotlin/Example3Expected.kt # diktat-rules/src/test/resources/test/smoke/src/main/kotlin/Example3Test.kt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See KdocFormattingFixTest - special tags should have newline after them
. This test fails if run against the whole ruleset with the same exception. Does your fix cover it?
### What's done: * Fixed bugs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
What's done:
ClassCastException triggers in IndentationRule when blank line is added after @implNote tag in KDoc
This pull request closes #480