[FIR-TEST] Update some testdata

This commit is contained in:
Dmitriy Novozhilov
2020-02-07 12:51:44 +03:00
parent 4b6c2f7a65
commit 5ceb68f19f
16 changed files with 52 additions and 51 deletions
@@ -486,7 +486,8 @@ interface ConeTypeContext : TypeSystemContext, TypeSystemOptimizationContext, Ty
getClassFqNameUnsafe()?.startsWith(Name.identifier("kotlin")) == true
override fun TypeConstructorMarker.getClassFqNameUnsafe(): FqNameUnsafe? {
return toFirRegularClass()?.symbol?.toLookupTag()?.classId?.asSingleFqName()?.toUnsafe()
if (this !is FirClassLikeSymbol<*>) return null
return toLookupTag().classId.asSingleFqName().toUnsafe()
}
override fun TypeParameterMarker.getName() = (this as FirTypeParameterSymbol).name
@@ -5,5 +5,5 @@ class Foo {
fun test() {
var f = Foo()
<!ASSIGN_OPERATOR_AMBIGUITY!>f += f<!>
<!ASSIGN_OPERATOR_AMBIGUITY, ASSIGN_OPERATOR_AMBIGUITY, ASSIGN_OPERATOR_AMBIGUITY!>f += f<!>
}