fix any in signature
reported by Alex Tkachman
This commit is contained in:
@@ -260,6 +260,9 @@ public class JetTypeMapper {
|
||||
}
|
||||
|
||||
if (JetStandardClasses.getAny().equals(descriptor)) {
|
||||
if (signatureVisitor != null) {
|
||||
visitAsmType(signatureVisitor, TYPE_OBJECT);
|
||||
}
|
||||
return TYPE_OBJECT;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
|
||||
class Any {
|
||||
{
|
||||
Object r = namespace.anyany(new Object(), null);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
// extra parameter is to preserve generic signature
|
||||
fun anyany(a: Any, ignore: java.util.List<String>) = a
|
||||
Reference in New Issue
Block a user