Adjust project code to new labels syntax
This commit is contained in:
+1
-1
@@ -85,7 +85,7 @@ class BuilderFactoryForDuplicateSignatureDiagnostics(
|
||||
}
|
||||
}
|
||||
|
||||
@signatures
|
||||
signatures@
|
||||
for ((rawSignature, origins) in groupedBySignature.entrySet()) {
|
||||
if (origins.size() <= 1) continue
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ object PrecedingCommentsBinder : WhitespacesAndCommentsBinder {
|
||||
|
||||
// 2. bind plain comments
|
||||
var result = tokens.size()
|
||||
@tokens for (idx in tokens.indices.reversed()) {
|
||||
tokens@ for (idx in tokens.indices.reversed()) {
|
||||
val tokenType = tokens[idx]
|
||||
when (tokenType) {
|
||||
JetTokens.WHITE_SPACE -> if (StringUtil.getLineBreakCount(getter[idx]) > 1) break@tokens
|
||||
@@ -72,7 +72,7 @@ object TrailingCommentsBinder : WhitespacesAndCommentsBinder {
|
||||
if (tokens.isEmpty()) return 0
|
||||
|
||||
var result = 0
|
||||
@tokens for (idx in tokens.indices) {
|
||||
tokens@ for (idx in tokens.indices) {
|
||||
val tokenType = tokens[idx]
|
||||
when (tokenType) {
|
||||
JetTokens.WHITE_SPACE -> if (StringUtil.containsLineBreak(getter[idx])) break@tokens
|
||||
|
||||
+1
-1
@@ -71,7 +71,7 @@ object DescriptorEquivalenceForOverrides {
|
||||
|
||||
if (!ownersEquivalent(a, b, {x, y -> false})) return false
|
||||
|
||||
val overridingUtil = OverridingUtil.createWithEqualityAxioms @eq {
|
||||
val overridingUtil = OverridingUtil.createWithEqualityAxioms eq@ {
|
||||
c1, c2 ->
|
||||
if (c1 == c2) return@eq true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user