You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### What's done:
* Now, EOL and block comments within multi-line Elvis expressions have the same
indentation level as the immediately following Elvis operator (`?:`), e.g.:
```kotlin
fun foo() {
findProperty("dockerNetwork") as String?
// https://docs.docker.com/compose/networking/
?: "default"
}
```
* This fixes#1532.
### What's done:
* Now, EOL and block comments within multi-line Elvis expressions have the same
indentation level as the immediately following Elvis operator (`?:`), e.g.:
```kotlin
fun foo() {
findProperty("dockerNetwork") as String?
// https://docs.docker.com/compose/networking/
?: "default"
}
```
* This fixes#1532.
### What's done:
* Now, EOL and block comments within multi-line Elvis expressions have the same
indentation level as the immediately following Elvis operator (`?:`), e.g.:
```kotlin
fun foo() {
findProperty("dockerNetwork") as String?
// https://docs.docker.com/compose/networking/
?: "default"
}
```
* This fixes#1532.
Consider this example:
Diktat 1.2.3 forces the following code::
The text was updated successfully, but these errors were encountered: