Kotlin / kotlin-spec

Kotlin Language Specification:
https://kotlinlang.org/spec
Apache License 2.0
387 stars 80 forks source link

Refine how renaming import works #89

Closed ice-phoenix closed 3 years ago

ice-phoenix commented 3 years ago

TL;DR it changes the name of the imported entity for the purposes of resolution, even in the same file; i.e., if one were to reimport test as foo in the same file, it is no longer available as test and must be referenced as foo.