Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge pull request #698 from kostya/subscript
fix #661 simplify array subscript access nil check
- Loading branch information
Showing
with
11 additions
and 16 deletions.
@@ -1,9 +1,3 @@ | ||
fails:Array#[] raises a RangeError when the start index is out of range of Fixnum | ||
fails:Array#[] raises a RangeError when the length is out of range of Fixnum | ||
fails:Array#[] with a subclass of Array returns a subclass instance with [n, m] | ||
fails:Array#[] with a subclass of Array returns a subclass instance with [-n, m] | ||
fails:Array#[] with a subclass of Array returns a subclass instance with [n..m] | ||
fails:Array#[] with a subclass of Array returns a subclass instance with [n...m] | ||
fails:Array#[] with a subclass of Array returns a subclass instance with [-n..-m] | ||
fails:Array#[] with a subclass of Array returns a subclass instance with [-n...-m] | ||
fails:Array.[] can unpack 2 or more nested referenced array |
@@ -1,8 +1,2 @@ | ||
fails:Array#slice raises a RangeError when the start index is out of range of Fixnum | ||
fails:Array#slice raises a RangeError when the length is out of range of Fixnum | ||
fails:Array#slice with a subclass of Array returns a subclass instance with [n, m] | ||
fails:Array#slice with a subclass of Array returns a subclass instance with [-n, m] | ||
fails:Array#slice with a subclass of Array returns a subclass instance with [n..m] | ||
fails:Array#slice with a subclass of Array returns a subclass instance with [n...m] | ||
fails:Array#slice with a subclass of Array returns a subclass instance with [-n..-m] | ||
fails:Array#slice with a subclass of Array returns a subclass instance with [-n...-m] |