Minor: comment
This commit is contained in:
+2
@@ -104,6 +104,8 @@ public abstract class DeserializedMemberScope protected(
|
|||||||
|
|
||||||
protected fun computeDescriptors(kindFilter: DescriptorKindFilter,
|
protected fun computeDescriptors(kindFilter: DescriptorKindFilter,
|
||||||
nameFilter: (Name) -> Boolean): Collection<DeclarationDescriptor> {
|
nameFilter: (Name) -> Boolean): Collection<DeclarationDescriptor> {
|
||||||
|
//NOTE: descriptors should be in the same order they were serialized in
|
||||||
|
// see MemberComparator
|
||||||
val result = LinkedHashSet<DeclarationDescriptor>(0)
|
val result = LinkedHashSet<DeclarationDescriptor>(0)
|
||||||
|
|
||||||
if (kindFilter.acceptsKinds(DescriptorKindFilter.SINGLETON_CLASSIFIERS_MASK)) {
|
if (kindFilter.acceptsKinds(DescriptorKindFilter.SINGLETON_CLASSIFIERS_MASK)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user