Minor, remove paragraph symbols from comments
This character seems to cause problems on some build agents
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ import org.jetbrains.kotlin.utils.addToStdlib.check
|
||||
// then use this upper bound instead of star projection
|
||||
// - Otherwise no non-projection parametrization exists for such 'samType'
|
||||
//
|
||||
// See Non-wildcard parametrization in §9.9 of JLS 8 for clarification
|
||||
// See Non-wildcard parametrization in JLS 8 p.9.9 for clarification
|
||||
internal fun nonProjectionParametrization(samType: KotlinType): KotlinType? {
|
||||
if (samType.arguments.none { it.projectionKind != Variance.INVARIANT }) return samType
|
||||
val parameters = samType.constructor.parameters
|
||||
|
||||
@@ -139,7 +139,7 @@ public class Visibilities {
|
||||
if (companionOwner != null && DescriptorUtils.isSubclass(fromClass, companionOwner)) return true;
|
||||
}
|
||||
|
||||
// The rest part of method checks visibility similarly to Java does for protected (see JLS §6.6.2)
|
||||
// The rest part of method checks visibility similarly to Java does for protected (see JLS p.6.6.2)
|
||||
|
||||
// Protected fake overrides can have only one protected overridden (as protected is not allowed for interface members)
|
||||
DeclarationDescriptorWithVisibility whatDeclaration = DescriptorUtils.unwrapFakeOverrideToAnyDeclaration(what);
|
||||
|
||||
@@ -99,7 +99,7 @@ public abstract class AbstractClassTypeConstructor extends AbstractTypeConstruct
|
||||
@Override
|
||||
protected Collection<KotlinType> getAdditionalNeighboursInSupertypeGraph() {
|
||||
// We suppose that there is an edge from C to A in graph when disconnecting loops in supertypes,
|
||||
// because such cyclic declarations should be prohibited (see §10.2.1 of Kotlin spec)
|
||||
// because such cyclic declarations should be prohibited (see p.10.2.1 of Kotlin spec)
|
||||
// class A : B {
|
||||
// static class C {}
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user