API for casting Value to Op.Result and Block.Parameter

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: repo-babylon
    • Component/s: core-libs

      Casting a Value to an Op.Result or Block.Parameter requires either pattern matching or explicit casting. Pattern matching results in dangling else branches and creates noise, while explicit casting can be messy and confusing with ClassCastException. We want to add methods to perform the casts or throw an exception.

            Assignee:
            ruby chen
            Reporter:
            ruby chen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: