Skip to content

Commit

Permalink
fixed review notes
Browse files Browse the repository at this point in the history
  • Loading branch information
nulls committed Jun 28, 2022
1 parent 0eb7bea commit 6e1f876
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ fun KtExpression.containsOnlyConstants(): Boolean =
* Here we assume that property can be declared only in block, since declaration is not an expression in kotlin
* and compiler prohibits things like `if (condition) val x = 0`.
*/
@Suppress("UnsafeCallOnNullableType")
fun KtProperty.getDeclarationScope() =
// FixMe: class body is missing here
getParentOfType<KtBlockExpression>(true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ class IndentationRuleFixTest : FixTestBase("test/paragraph3/indentation",
/**
* See [#1330](https://github.com/saveourtool/diktat/issues/1330).
*/
@Suppress("BACKTICKS_PROHIBITED")
@Nested
@TestMethodOrder(DisplayName::class)
inner class `Expression body functions` {
Expand Down Expand Up @@ -166,7 +165,6 @@ class IndentationRuleFixTest : FixTestBase("test/paragraph3/indentation",
/**
* See [#1347](https://github.com/saveourtool/diktat/issues/1347).
*/
@Suppress("BACKTICKS_PROHIBITED")
@Nested
@TestMethodOrder(DisplayName::class)
inner class `Multi-line string literals` {
Expand Down Expand Up @@ -215,7 +213,6 @@ class IndentationRuleFixTest : FixTestBase("test/paragraph3/indentation",
/**
* See [#1340](https://github.com/saveourtool/diktat/issues/1340).
*/
@Suppress("BACKTICKS_PROHIBITED")
@Nested
@TestMethodOrder(DisplayName::class)
inner class `Expressions wrapped after operator` {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,6 @@ class IndentationRuleWarnTest : LintTestBase(::IndentationRule) {
/**
* See [#1330](https://github.com/saveourtool/diktat/issues/1330).
*/
@Suppress("BACKTICKS_PROHIBITED")
@Nested
@TestMethodOrder(DisplayName::class)
inner class `Expression body functions` {
Expand Down Expand Up @@ -868,7 +867,6 @@ class IndentationRuleWarnTest : LintTestBase(::IndentationRule) {
/**
* See [#1340](https://github.com/saveourtool/diktat/issues/1340).
*/
@Suppress("BACKTICKS_PROHIBITED")
@Nested
@TestMethodOrder(DisplayName::class)
inner class `Expressions wrapped after operator` {
Expand Down

0 comments on commit 6e1f876

Please sign in to comment.