KT-34572 Convert to block body action improperly works with suppress annotations (#2969)
* Convert to block body: place @Suppress annotation before return expression #KT-34572 Fixed * Convert to block body: place annotations before return expression
This commit is contained in:
committed by
GitHub
parent
9e0bb4ce8e
commit
8ce9b2d061
@@ -6887,6 +6887,11 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
|
||||
runTest("idea/testData/intentions/convertToBlockBody/annotatedExpr.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("annotatedExpr2.kt")
|
||||
public void testAnnotatedExpr2() throws Exception {
|
||||
runTest("idea/testData/intentions/convertToBlockBody/annotatedExpr2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("explicitlyNonUnitFun.kt")
|
||||
public void testExplicitlyNonUnitFun() throws Exception {
|
||||
runTest("idea/testData/intentions/convertToBlockBody/explicitlyNonUnitFun.kt");
|
||||
|
||||
Reference in New Issue
Block a user