If throw was referentially transparent, by definition, the two following methods would be equivalent: def foo1() = if(false) throw new Exception else 2 def ...
確定! 回上一頁