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

--- Comment #1 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/42f7252a19640f276e046e8fd264d4484eb82619
fix issue 18994 - Use noncopyable variable in foreach loop without ref results
in error message without line number

Set loc for the copy expression generated by the compiler too.

--

Reply via email to