Uploaded image for project: 'Byteman'
  1. Byteman
  2. BYTEMAN-117

ConditionalEvalExpression fails ot install type if both branches have the same type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.4.0
    • 1.3.0
    • Parser/Type Checker
    • None

      With an expression of the form (cond ? expr1 : expr2) the typechecker fails to install a type for the whole expression when expr1 and expr2 both have the same type. It works ok if they are different interassignable types.

            rhn-engineering-adinn Andrew Dinn
            rhn-engineering-adinn Andrew Dinn
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: