Fabian Homborg 9be7288fab expansion: Only clamp ranges when not forcing direction
This caused `$var[2..-1]` to still expand to $var[1] if only one
element was given.

Fixup for #4965.

Fixes #5187.
2018-09-15 11:07:29 +02:00
..
2016-12-19 17:44:54 -08:00
2018-02-25 21:29:24 +01:00
2018-02-25 21:29:24 +01:00
2018-02-25 21:29:24 +01:00
2018-04-01 13:48:21 -07:00
2014-09-21 21:03:44 -07:00
2014-09-21 21:03:44 -07:00
2017-07-16 15:13:39 -07:00
2014-12-23 15:46:47 -08:00
2017-07-25 12:44:26 -07:00
2018-09-03 14:13:31 -07:00
2017-06-16 21:01:56 -07:00
2018-04-01 13:48:21 -07:00
2018-03-04 15:33:36 -06:00
2017-01-31 22:10:53 -08:00
2017-01-31 22:10:53 -08:00
2018-08-04 15:32:09 -07:00
2018-08-04 15:32:09 -07:00
2018-08-04 15:32:09 -07:00
2017-02-20 18:43:13 -08:00
2018-04-01 13:48:21 -07:00
2017-12-21 15:48:48 -08:00
2016-12-20 16:46:33 -08:00
2017-04-05 15:31:13 -07:00
2017-04-05 15:31:13 -07:00
2017-04-05 15:31:13 -07:00
2018-05-06 11:20:15 -07:00
2018-07-01 15:56:34 -07:00
2018-07-01 15:56:34 -07:00
2018-07-01 15:56:34 -07:00
2018-03-31 16:54:50 -07:00
2018-01-07 15:00:44 +01:00
2005-09-20 23:31:55 +10:00
2010-09-18 10:18:26 +08:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2018-03-31 16:54:50 -07:00
2016-11-17 14:53:50 -08:00
2018-04-01 13:48:21 -07:00
2014-07-13 19:11:29 -07:00
2017-07-25 12:44:26 -07:00
2018-09-03 14:13:31 -07:00
2017-03-28 16:28:24 -07:00
2017-03-28 16:28:24 -07:00
2017-03-28 16:28:24 -07:00
2018-09-15 11:07:29 +02:00
2017-11-16 10:48:21 -08:00
2017-11-16 10:48:21 -08:00