Allow newline before : as as? ?: || &&
This commit is contained in:
@@ -8,4 +8,29 @@ fun test() {
|
||||
str
|
||||
|
||||
?.length
|
||||
|
||||
str
|
||||
|
||||
: String
|
||||
|
||||
str
|
||||
|
||||
as String
|
||||
|
||||
str
|
||||
|
||||
as? String
|
||||
|
||||
str
|
||||
|
||||
?: foo
|
||||
|
||||
true
|
||||
|
||||
|| false
|
||||
|
||||
|
||||
false
|
||||
|
||||
&& true
|
||||
}
|
||||
Reference in New Issue
Block a user