java.lang.IllegalArgumentException: empty expression should not be here during generating Javascript code

YouTrack | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    K2JS crashes on `when` condition containing `return`, `break` or `continue`

    YouTrack | 10 months ago
    java.lang.IllegalArgumentException: empty expression should not be here during generating Javascript code

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      empty expression should not be here during generating Javascript code

      at com.google.dart.compiler.backend.js.ast.JsEmptyExpression.accept()
    2. com.google.dart
      JsIf.accept
      1. com.google.dart.compiler.backend.js.ast.JsEmptyExpression.accept(JsEmptyExpression.java:34)
      2. com.google.dart.compiler.backend.js.ast.JsVisitor.accept(JsVisitor.kt:11)
      3. com.google.dart.compiler.backend.js.ast.JsIf.acceptChildren(JsIf.java:63)
      4. com.google.dart.compiler.backend.js.ast.RecursiveJsVisitor.visitElement(RecursiveJsVisitor.java:8)
      5. com.google.dart.compiler.backend.js.ast.JsVisitor.visitIf(JsVisitor.kt:85)
      6. com.google.dart.compiler.backend.js.ast.JsIf.accept(JsIf.java:58)
      6 frames