Replace sort with sorted.
This commit is contained in:
+1
-1
@@ -344,7 +344,7 @@ private fun Map<TypeParameterDescriptor, JetType>.addReifiedTypeArgsTo(
|
||||
val reifiedTypeArguments = SmartList<JsExpression>()
|
||||
val patternTranslator = PatternTranslator.newInstance(context)
|
||||
|
||||
for (param in keySet().sortBy { it.getIndex() }) {
|
||||
for (param in keySet().sortedBy { it.getIndex() }) {
|
||||
if (!param.isReified()) continue
|
||||
|
||||
val argumentType = get(param)
|
||||
|
||||
Reference in New Issue
Block a user