[JS IR] Use local scope for SAM if there are scopes

[JS IR] Use private for top level sam wrappers and local otherwise

^KT-44433 fixed
This commit is contained in:
Ilya Goncharov
2021-01-21 20:11:29 +03:00
parent ca314c5bb9
commit d6e74b9620
2 changed files with 5 additions and 6 deletions
@@ -1,6 +1,6 @@
// WITH_RUNTIME
// WITH_COROUTINES
// IGNORE_BACKEND: JVM, JS_IR
// IGNORE_BACKEND: JVM
// IGNORE_LIGHT_ANALYSIS
// LANGUAGE: +SuspendFunctionsInFunInterfaces, +JvmIrEnabledByDefault