Fix for 171 platform

This commit is contained in:
Dmitry Jemerov
2017-03-20 18:44:14 +01:00
parent 87c055cc61
commit 4d10b18fe1
@@ -54,7 +54,7 @@ object LambdaSignatureTemplates {
) {
// we start template later to not interfere with insertion of tail type
val commandProcessor = CommandProcessor.getInstance()
val commandName = commandProcessor.currentCommandName!!
val commandName = commandProcessor.currentCommandName ?: "Insert lambda template"
val commandGroupId = commandProcessor.currentCommandGroupId
val rangeMarker = context.document.createRangeMarker(placeholderRange)