java.lang.ClassCastException: yeti.lang.IntNum cannot be cast to > java.lang.String

Google Groups | chrisichris | 2 years 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

    unsafe polymorphic cast turns off typechecking?

    Google Groups | 2 years ago | chrisichris
    java.lang.ClassCastException: yeti.lang.IntNum cannot be cast to > java.lang.String

    Root Cause Analysis

    1. java.lang.ClassCastException

      yeti.lang.IntNum cannot be cast to > java.lang.String

      at code$fn2.apply()
    2. Unknown
      code.apply
      1. code$fn2.apply(<>:1)
      2. code.apply(<>:1)
      2 frames
    3. yeti.lang.compiler
      eval$evaluateYetiCode$.apply
      1. yeti.lang.compiler.eval._1(eval.yeti:98)
      2. yeti.lang.compiler.eval.execClass(eval.yeti:76)
      3. yeti.lang.compiler.eval$evaluateYetiCode$._0(eval.yeti:485)
      4. yeti.lang.compiler.eval$evaluateYetiCode$.apply(eval.yeti:461)
      4 frames
    4. yeti.lang
      Fun2_.apply
      1. yeti.lang.Fun2_.apply(Unknown Source)
      1 frame
    5. yeti.lang.compiler
      yeti.main
      1. yeti.lang.compiler.yeti.repl(yeti.yeti:59)
      2. yeti.lang.compiler.yeti.main(yeti.yeti:217)
      2 frames