Why return type of either output of an IF Statement has to be the same?

前端 未结 0 589
梦如初夏
梦如初夏 2020-11-21 23:17

For example:

IF (COND) then EXPR1 else EXPR2

Following are the types.

  • IF:T1
相关标签:
回答
  • 消灭零回复
提交回复
热议问题