Collect sam adapters for constructors in synthetic scope
Also place computation of synthetic constructors under one function
This commit is contained in:
@@ -284,6 +284,7 @@ private fun ResolutionScope.getContributedFunctionsAndConstructors(
|
||||
callableConstructors.filterTo(result) { it.dispatchReceiverParameter == null }
|
||||
|
||||
result.addAll(syntheticScopes.collectSyntheticStaticFunctions(scope, name, location))
|
||||
result.addAll(syntheticScopes.collectSyntheticConstructors(scope, name, location))
|
||||
|
||||
return result.toList()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user