FIR builder: do not generate implicit types for getters

This commit is contained in:
Mikhail Glukhikh
2018-04-13 13:40:36 +03:00
parent dadc028884
commit a07b9a70f7
5 changed files with 5 additions and 5 deletions
@@ -122,7 +122,7 @@ class RawFirBuilder(val session: FirSession) {
isGetter,
visibility,
if (isGetter) {
returnTypeReference.toFirOrImplicitType()
returnTypeReference?.convertSafe() ?: propertyType
} else {
returnTypeReference.toFirOrUnitType()
},
@@ -16,7 +16,7 @@ FILE: simpleClass.kt
}
public? open? override property bar(var): Boolean
public? get(): <implicit> {
public? get(): Boolean {
STUB
}
public? set(value: Boolean): kotlin.Unit {
+1 -1
View File
@@ -19,7 +19,7 @@ FILE: Annotations.kt
}
public? open? override property v(val): R|kotlin/String|
@R|annotations/Simple|() public? get(): R|error: Not supported: FirImplicitTypeImpl| {
@R|annotations/Simple|() public? get(): R|kotlin/String| {
STUB
}
+1 -1
View File
@@ -16,7 +16,7 @@ FILE: simpleClass.kt
}
public? open? override property bar(var): R|kotlin/Boolean|
public? get(): R|error: Not supported: FirImplicitTypeImpl| {
public? get(): R|kotlin/Boolean| {
STUB
}
public? set(value: R|kotlin/Boolean|): R|kotlin/Unit| {
@@ -1,5 +1,5 @@
FILE: typeParameterInPropertyReceiver.kt
<T : R|kotlin/Any|> public? final? property self R|T|.(val): R|T|
public? get(): R|error: Not supported: FirImplicitTypeImpl| {
public? get(): R|T| {
STUB
}