Mercurial > hg > truffle
view graal/com.oracle.truffle.ruby.test/specs/tags/language/case_tags.txt @ 13896:cf1f97283122
Merge.
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 06 Feb 2014 18:47:57 +0100 |
parents | 0fbee3eb71f0 |
children |
line wrap: on
line source
fails:The 'case'-construct evaluates the body of the when clause matching the case target expression fails:The 'case'-construct evaluates the body of the when clause whose array expression includes the case target expression fails:The 'case'-construct evaluates the body of the when clause in left-to-right order if it's an array expression fails:The 'case'-construct evaluates the body of the when clause whose range expression includes the case target expression fails:The 'case'-construct expands arrays to lists of values fails:The 'case'-construct concats arrays before expanding them fails:The 'case'-construct never matches when clauses with no values fails:The 'case'-construct works even if there's only one when statement fails:The 'case'-construct with no target expression evaluates true as only 'true' when true is the first clause fails:The 'case'-construct with no target expression evaluates false as only 'false' when false is the first clause fails:The 'case'-construct with no target expression treats a literal array as its own when argument, rather than a list of arguments fails:The 'case'-construct takes multiple expanded arrays