Migrate UseExperimental->OptIn in project sources

This commit is contained in:
Alexander Udalov
2020-01-28 15:35:42 +01:00
parent 125b39d9be
commit 795d6ab407
164 changed files with 213 additions and 211 deletions
@@ -81,7 +81,7 @@ open class RemovePartsFromPropertyFix(
// The ideal fix would be using a String that needs to be rendered instead of actual type
//
// But calling another type refinement also helps because it makes KotlinType instance using new module descriptor
@UseExperimental(TypeRefinement::class)
@OptIn(TypeRefinement::class)
typeToAdd = replaceElement.getResolutionFacade().frontendService<KotlinTypeRefiner>().refineType(typeToAdd)
SpecifyTypeExplicitlyIntention.addTypeAnnotation(editor, replaceElement, typeToAdd)