Minor, fix "visibility modifier" positioning strategy for objects
It's not reproducible at the moment, but will matter if more diagnostics use this positioning strategy
This commit is contained in:
@@ -285,6 +285,10 @@ public class PositioningStrategies {
|
||||
}
|
||||
}
|
||||
|
||||
if (element instanceof JetObjectDeclaration) {
|
||||
return ImmutableList.of(((JetObjectDeclaration) element).getObjectKeyword().getTextRange());
|
||||
}
|
||||
|
||||
if (element instanceof JetPropertyAccessor) {
|
||||
return ImmutableList.of(((JetPropertyAccessor) element).getNamePlaceholder().getTextRange());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user