Fixed visibility generated by backend for internal members. Now they are public in JVM, but have special flag in annotation.

This commit is contained in:
Evgeny Gerashchenko
2012-06-14 20:00:10 +04:00
parent 221e412ba7
commit 9f45e7cc08
6 changed files with 37 additions and 9 deletions
@@ -9,11 +9,11 @@ abstract class ClassValAbstract {
fun box() : String {
for(m in ClassValAbstract.methods) {
if(m.sure().getName() == "getA") {
if(m.sure().getModifiers() != 1024)
if(m.sure().getModifiers() != 1025)
return "get failed"
}
if(m.sure().getName() == "setA") {
if(m.sure().getModifiers() != 1024)
if(m.sure().getModifiers() != 1025)
return "set failed"
}
}