D-Programming-Language/dmd — pull request #1291 by donc (2012-11-15 08:15:43+00:00)
Title: Fix error message with missing line number

Test case is in bug 6426.
Doesn't fix the actual bug, but makes the error message a bit less horrible.

Error before:
Error: function std.algorithm.MapResult!(reduce, int[][]).MapResult.back cannot get frame pointer to reduce

With this patch:
std/algorithm.d(394): Error: function std.algorithm.MapResult!(reduce, int[][]).MapResult.back cannot get frame pointer to reduce

It's still basically an internal compiler error, so I'm not adding a test case.