Fix reflection on reference to generic property

See a93484b457 for the similar fix to function
references

 #KT-12967 Fixed
This commit is contained in:
Alexander Udalov
2016-07-04 16:11:45 +03:00
parent 48fe9fb2c0
commit 3b349e9be0
4 changed files with 23 additions and 4 deletions
@@ -228,7 +228,7 @@ class PropertyReferenceCodegen(
initialize(property.type)
}
val method = state.typeMapper.mapAsmMethod(getter)
val method = state.typeMapper.mapAsmMethod(getter.original)
return method.name + method.descriptor
}