fix KDoc compilation

we should probably add alt-header for java.lang.Object that specifies
return type of Object.toString to String (without ?)
This commit is contained in:
Stepan Koltsov
2012-04-28 20:34:33 +04:00
parent b24634eb99
commit 98bd8bc90a
@@ -1020,7 +1020,7 @@ class KPackage(model: KModel, val descriptor: NamespaceDescriptor,
}
class KType(val jetType: JetType, model: KModel, val klass: KClass?, val arguments: List<KType> = ArrayList<KType>())
: KNamed(klass?.name ?: jetType.toString(), model, jetType.getConstructor().getDeclarationDescriptor().sure()) {
: KNamed(klass?.name ?: jetType.toString().sure(), model, jetType.getConstructor().getDeclarationDescriptor().sure()) {
{
if (klass != null) {
this.wikiDescription = klass.wikiDescription