Fixed EA-68922

This commit is contained in:
Valentin Kipyatkov
2015-06-01 16:38:26 +03:00
parent 6010876c95
commit 9b32bb8894
@@ -169,7 +169,7 @@ public class DeprecatedCallableAddReplaceWithIntention : JetSelfTargetingRangeIn
var expression = try {
JetPsiFactory(this).createExpression(text.replace('\n', ' '))
}
catch(e: Exception) { // does not parse in one line
catch(e: Throwable) { // does not parse in one line
return null
}
expression = CodeStyleManager.getInstance(getProject()).reformat(expression, true) as JetExpression