java.lang.AssertionError: typecode ERROR

GitHub | lucaswerkmeister | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Backend error for illegal function shortcut specification

    GitHub | 9 months ago | lucaswerkmeister
    java.lang.AssertionError: typecode ERROR

    Root Cause Analysis

    1. java.lang.AssertionError

      typecode ERROR

      at com.redhat.ceylon.langtools.tools.javac.jvm.Code.typecode()
    2. com.redhat.ceylon
      LanguageCompiler.genCodeUnlessError
      1. com.redhat.ceylon.langtools.tools.javac.jvm.Code.typecode(Code.java:248)
      2. com.redhat.ceylon.langtools.tools.javac.jvm.Items.makeStackItem(Items.java:110)
      3. com.redhat.ceylon.langtools.tools.javac.jvm.Gen.visitNewClass(Gen.java:1935)
      4. com.redhat.ceylon.langtools.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1515)
      5. com.redhat.ceylon.langtools.tools.javac.jvm.Gen.genExpr(Gen.java:949)
      6. com.redhat.ceylon.langtools.tools.javac.jvm.Gen.visitReturn(Gen.java:1809)
      7. com.redhat.ceylon.langtools.tools.javac.tree.JCTree$JCReturn.accept(JCTree.java:1383)
      8. com.redhat.ceylon.langtools.tools.javac.jvm.Gen.genDef(Gen.java:739)
      9. com.redhat.ceylon.langtools.tools.javac.jvm.Gen.genStat(Gen.java:774)
      10. com.redhat.ceylon.langtools.tools.javac.jvm.Gen.genStat(Gen.java:760)
      11. com.redhat.ceylon.langtools.tools.javac.jvm.Gen.genStats(Gen.java:811)
      12. com.redhat.ceylon.langtools.tools.javac.jvm.Gen.visitBlock(Gen.java:1159)
      13. com.redhat.ceylon.langtools.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:908)
      14. com.redhat.ceylon.langtools.tools.javac.jvm.Gen.genDef(Gen.java:739)
      15. com.redhat.ceylon.langtools.tools.javac.jvm.Gen.genStat(Gen.java:774)
      16. com.redhat.ceylon.langtools.tools.javac.jvm.Gen.genMethod(Gen.java:1033)
      17. com.redhat.ceylon.langtools.tools.javac.jvm.Gen.visitMethodDef(Gen.java:996)
      18. com.redhat.ceylon.langtools.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:777)
      19. com.redhat.ceylon.langtools.tools.javac.jvm.Gen.genDef(Gen.java:739)
      20. com.redhat.ceylon.langtools.tools.javac.jvm.Gen.genClass(Gen.java:2461)
      21. com.redhat.ceylon.compiler.java.tools.LanguageCompiler.genCodeUnlessError(LanguageCompiler.java:800)
      21 frames