fix failure to handle otherwise blocks with multiple expressions
This commit is contained in:
@@ -378,7 +378,12 @@
|
||||
((Some (as inner (Some v)))
|
||||
(Assert.equals 5 v)
|
||||
(Assert.isTrue (Type.enumEq (Some 5) inner)))
|
||||
(otherwise (Assert.fail))))
|
||||
(otherwise (Assert.fail)))
|
||||
|
||||
// Otherwise blocks should allow multiple expressions, too:
|
||||
(case 5
|
||||
(otherwise
|
||||
6 5)))
|
||||
|
||||
(function _testMaps []
|
||||
(localVar :Map<String,String> myMap [=>"hey" "you"
|
||||
|
Reference in New Issue
Block a user