https://issues.dlang.org/show_bug.cgi?id=14791

--- Comment #3 from Kenji Hara <[email protected]> ---
(In reply to Walter Bright from comment #1)
> This is caused by a recent change to DMD that regards buf[] as being
> equivalent to buf[64]. (Which causes both overloads of indexOf() to match.)

Martin and Walter, do you really test the snippet with git-head dmd? In my
local environment, git-head dmd does not reproduce the reported error.

And, if I use the modified dmd which is reverting issue 14735 fix, the errors
happen.

I doubt this is for 2.068-beta1 issue (and it's a dup of 14735), or your local
environment problem (that's not synchronized with current latest git-head
repo).

--

Reply via email to