<NME> ElmCaseOfBranch.kt
<BEF> package org.elm.lang.core.psi.elements

import com.intellij.lang.ASTNode
import com.intellij.psi.PsiElement
import com.intellij.psi.util.PsiTreeUtil
import org.elm.lang.core.psi.ElmExpressionTag
import org.elm.lang.core.psi.ElmNameDeclarationPatternTag
import org.elm.lang.core.psi.ElmPsiElementImpl
import org.elm.lang.core.psi.ElmTypes


/**

    /**
     * The pattern on the left-hand-side of the branch.
     */
    val pattern: ElmPattern?
        get() = findChildByClass(ElmPattern::class.java)
        get() = findNotNullChildByClass(ElmPattern::class.java)
    /**
     * The body expression on the right-hand-side of the branch.
     *
     * In a well-formed program, this will be non-null
     */
    val expression: ElmExpression?
        get() = findChildByClass(ElmExpression::class.java)
        get() = findChildByClass(ElmExpressionTag::class.java)


    /**
     * Named elements introduced by pattern destructuring on the left-hand side of the branch.
     */
    val destructuredNames: List<ElmNameDeclarationPatternTag>
        get() = PsiTreeUtil.collectElementsOfType(pattern, ElmNameDeclarationPatternTag::class.java).toList()

    /** The `->` element. In a well formed program, this will not return null */
    val arrow: PsiElement? get() = findChildByType(ElmTypes.ARROW)
}

<MSG> Stop bundling Kotlin 1.2 runtime and start bundling JFlex JAR

We were previously bundling Kotlin 1.2 because IntelliJ 2017.3 hadn't
yet been released.

<DFF> @@ -13,6 +13,8 @@ class ElmCaseOfBranch(node: ASTNode) : ElmPsiElementImpl(node) {
 
     /**
      * The pattern on the left-hand-side of the branch.
+     *
+     * In a well-formed program, this will be non-null.
      */
     val pattern: ElmPattern?
         get() = findChildByClass(ElmPattern::class.java)
@@ -20,7 +22,7 @@ class ElmCaseOfBranch(node: ASTNode) : ElmPsiElementImpl(node) {
     /**
      * The body expression on the right-hand-side of the branch.
      *
-     * In a well-formed program, this will be non-null
+     * In a well-formed program, this will be non-null.
      */
     val expression: ElmExpression?
         get() = findChildByClass(ElmExpression::class.java)

Stop bundling Kotlin 1.2 runtime and start bundling JFlex JAR