java.lang.IllegalArgumentException: bad match (Fruit "banana")

Google Groups | Chris Cannam | 4 years 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

    function types restricting tagged types?

    Google Groups | 4 years ago | Chris Cannam
    java.lang.IllegalArgumentException: bad match (Fruit "banana")
  2. 0

    Parsing Json as polymorphic value and should yeti.lang.GenericStruct also implement yeti.lang.Coll and ByKey?

    Google Groups | 5 years ago | chrisichris
    java.lang.IllegalArgumentException: bad match (None [])

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      bad match (Fruit "banana")

      at yeti.lang.Core.badMatch()
    2. yeti.lang
      Core.badMatch
      1. yeti.lang.Core.badMatch(Core.java:216)
      1 frame
    3. yertle
      index$scoreIndexFor.apply
      1. yertle.index$scoreIndexFor.apply(index.yeti:118)
      2. yertle.index$scoreIndexFor.apply(index.yeti:121)
      3. yertle.index$scoreIndexFor.apply(index.yeti:121)
      3 frames
    4. yeti.lang
      std$mapIntoHash$.apply
      1. yeti.lang.Fun2_.apply(Unknown Source)
      2. yeti.lang.Compose.apply(Unknown Source)
      3. yeti.lang.std$mapIntoHash$.apply(std.yeti:2356)
      3 frames
    5. yertle
      store$match.apply
      1. yertle.index$chooseIndex.apply(index.yeti:126)
      2. yertle.store$match.apply(store.yeti:100)
      2 frames
    6. Unknown
      code.apply
      1. code.apply(<>:1)
      1 frame
    7. 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:484)
      4. yeti.lang.compiler.eval$evaluateYetiCode$.apply(eval.yeti:460)
      4 frames
    8. yeti.lang
      Fun2_.apply
      1. yeti.lang.Fun2_.apply(Unknown Source)
      1 frame
    9. 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