view .hgsubstate @ 20425:41d19a6ef55a

Allow assignment of an empty variable to an empty indexing slice (bug #45467). * Array.cc (Array<T>::assign): For 2-D case, check that neither the LHS or RHS is empty before calling gripe_assignment_dimension_mismatch(). * Array.cc (Array<T>::assign): For N-D case, check that neither the LHS or RHS is empty before calling gripe_assignment_dimension_mismatch().
author Lachlan Andrew <lachlanbis@gmail.com>
date Fri, 24 Jul 2015 14:40:18 -0700
parents 85d9cb769e8b
children
line wrap: on
line source

7f19e7f2afa2b1476983003f9cd6df2f5b2a4b08 gnulib-hg