Stop overriding equals and hashCode in ir nodes and Symbol

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: 8
    • Component/s: core-libs
    • None

      We've only used it for label comparisons so far, and what's worse - some nodes to override them some don't. That is very brittle and it's just a matter of time before this causes and issue with a Set or a Map of nodes somewhere.

      I've POCed "reference comparable only" for everything that inherits Location in my branch and it works fine.

      Also got rid of a lof code mass that was dubious hashCode or equals functions.

            Assignee:
            Marcus Lagergren
            Reporter:
            Marcus Lagergren
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: