3c68b27280
`implicitScope` can be `null` in case when the implicit receiver resides in a user-defined `kotlin.*` package, but the user have not yet allowed this with compiler argument directive. In this case, we don't want the IDE to crush and show exceptions - the `kotlin` package would be highlighted by the compiler diagnostics and other resolve problems, and that would be enough ^KT-62071 Fixed
10 lines
127 B
Kotlin
Vendored
10 lines
127 B
Kotlin
Vendored
// FILE: main.kt
|
|
package kotlin.myPackage
|
|
|
|
class SomeClass {
|
|
fun test(param: String) {
|
|
<expr>param</expr>
|
|
}
|
|
}
|
|
|