Fix internal visibility check for deserialized typealiases

#KT-15495 fixed

Original commit: 50085722d1
This commit is contained in:
Alexey Tsvetkov
2017-04-18 18:38:40 +03:00
parent 74f1a0cb73
commit ce22d1cf9b
6 changed files with 31 additions and 0 deletions
@@ -0,0 +1,3 @@
package foo
internal typealias TypeAlias = Int
@@ -0,0 +1,11 @@
================ Step #1 =================
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/foo/UseTypeAliasKt.class
End of files
Compiling files:
src/useTypeAlias.kt
End of files
Exit code: OK
------------------------------------------
@@ -0,0 +1,5 @@
package foo
internal fun useTypeAlias(x: TypeAlias) {
x.toString()
}