Disallow named arguments for SAM adapters

SAM adapters are Java functions, and named arguments are not allowed for Java
functions

 #KT-5022 Fixed
This commit is contained in:
Alexander Udalov
2014-06-27 17:31:44 +04:00
parent 6e1047685c
commit c0fc5cfb53
12 changed files with 79 additions and 37 deletions
@@ -255,9 +255,9 @@ private object KotlinResolveDataProvider {
TopDownAnalysisParameters.createForLazy(
resolveSession.getStorageManager(),
resolveSession.getExceptionTracker(),
analyzeCompletely = { true },
analyzingBootstrapLibrary = false,
declaredLocally = false
/* analyzeCompletely = */ { true },
/* analyzingBootstrapLibrary = */ false,
/* declaredLocally = */ false
),
listOf(analyzableElement)
)