view graal/com.oracle.truffle.ruby.test/specs/tags/language/case_tags.txt @ 13705:ac5b0f31f7a2

Truffle API-change: FrameDescriptors are now stored in the RootNode in a final field instead of the CallTarget.
author Christian Humer <christian.humer@gmail.com>
date Fri, 17 Jan 2014 17:06:08 +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