Issue 12874 - Wrong file name in range violation error

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