In line 4512:

```d
        else if (t)
            index = t;　　　// should set index to t->semantic(loc, sc) result.
```