Edit

kc3-lang/kc3/test/ikc3/if.kc3

Branch :

  • test/ikc3/if.kc3
  • quote if true
      1
    else
      2
    end
    if true
      1
    else
      2
    end
    quote if true
      1
    end
    if true
      1
    end
    quote if false
      1
    else
      2
    end
    if false
      1
    else
      2
    end
    quote if false
      1
    end
    if false
      1
    end
    quote if true && true
      1 + 1
      2 + 2
    else
      3 + 3
      4 + 4
    end
    if true && true
      1 + 1
      2 + 2
    else
      3 + 3
      4 + 4
    end
    quote if true && false
      1 + 1
      2 + 2
    else
      3 + 3
      4 + 4
    end
    if true && false
      1 + 1
      2 + 2
    else
      3 + 3
      4 + 4
    end