Descriptors from library source should be visible from descriptors from libraries class files

This commit is contained in:
Natalia Ukhorskaya
2016-03-16 16:49:16 +03:00
parent 5b489d1986
commit 6752d0f180
6 changed files with 38 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
LineBreakpoint created at fileWithInternal.kt:5
!JDK_HOME!\bin\java -agentlib:jdwp=transport=dt_socket,address=!HOST_NAME!:!HOST_PORT!,suspend=y,server=n -Dfile.encoding=!FILE_ENCODING! -classpath !OUTPUT_PATH!;!KOTLIN_RUNTIME!;!CUSTOM_LIBRARY!;!RT_JAR! fileWithError.FileWithErrorKt
Connected to the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
fileWithInternal.kt:5
Compile bytecode for 1
Disconnected from the target VM, address: '!HOST_NAME!:PORT_NAME!', transport: 'socket'
Process finished with exit code 0
@@ -0,0 +1,11 @@
package fileWithError
fun main(args: Array<String>) {
// There is an error about internal visibility while analyzing fileWithInternal.kt
fileWithInternal.test()
}
// ADDITIONAL_BREAKPOINT: fileWithInternal.kt:Breakpoint
// EXPRESSION: 1
// RESULT: 1: I