It is not a bug and such code should not compile. If you want to an index,
cast to an integer type.

On Mon, Nov 25, 2019 at 10:57 AM Janos Meny <[email protected]>
wrote:

> Hey everyone,
>
> I noticed that in the development branch the following code will no longer
> compile: https://godbolt.org/z/pHPX2j
>
> Aside from the fact that I think this is a bug, this would break a lot of
> code I think.
>
> Best regards
>
> Janos
>

Reply via email to