java.lang.AssertionError: BUG: x = "<A HREF=\"" + base_type + ".html\" TARGET=_top>"+ short_type+ "</A>" i = 7 es = ["<A HREF=\"", base_type, ".html\" TARGET=_top>", short_type, "</A>"] l = "</A>" -----this is all I know.

GitHub | yossigil | 5 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

    Bug in pushdownTernary

    GitHub | 5 months ago | yossigil
    java.lang.AssertionError: BUG: x = "<A HREF=\"" + base_type + ".html\" TARGET=_top>"+ short_type+ "</A>" i = 7 es = ["<A HREF=\"", base_type, ".html\" TARGET=_top>", short_type, "</A>"] l = "</A>" -----this is all I know.

    Root Cause Analysis

    1. java.lang.AssertionError

      BUG: x = "<A HREF=\"" + base_type + ".html\" TARGET=_top>"+ short_type+ "</A>" i = 7 es = ["<A HREF=\"", base_type, ".html\" TARGET=_top>", short_type, "</A>"] l = "</A>" -----this is all I know.

      at il.org.spartan.spartanizer.wrings.TernaryPushdownStrings.replaceSuffix()
    2. il.org.spartan
      Trimmer$2.go
      1. il.org.spartan.spartanizer.wrings.TernaryPushdownStrings.replaceSuffix(TernaryPushdownStrings.java:133)
      2. il.org.spartan.spartanizer.wrings.TernaryPushdownStrings.simplifyStrings(TernaryPushdownStrings.java:211)
      3. il.org.spartan.spartanizer.wrings.TernaryPushdownStrings.simplify(TernaryPushdownStrings.java:144)
      4. il.org.spartan.spartanizer.wrings.TernaryPushdownStrings.replacement(TernaryPushdownStrings.java:36)
      5. il.org.spartan.spartanizer.wrings.TernaryPushdownStrings.replacement(TernaryPushdownStrings.java:220)
      6. il.org.spartan.spartanizer.wrings.TernaryPushdownStrings.replacement(TernaryPushdownStrings.java:1)
      7. il.org.spartan.spartanizer.wringing.ReplaceCurrentNode.suggest(ReplaceCurrentNode.java:19)
      8. il.org.spartan.spartanizer.wringing.CarefulWring.canSuggest(CarefulWring.java:12)
      9. il.org.spartan.spartanizer.dispatch.Toolbox.find(Toolbox.java:206)
      10. il.org.spartan.spartanizer.dispatch.Toolbox.find(Toolbox.java:218)
      11. il.org.spartan.spartanizer.dispatch.Trimmer$2.go(Trimmer.java:85)
      11 frames