I have investigated the issue, and I found out that this is a D
compiler bug, not a Zero bug.
It affects the DMD compiler but not GDC. The DW_AT_upper_bound value
is off by one, I have reported it to Walter Bright.
Thanks for bringing it to my attention.