]> git.llucax.com Git - software/druntime.git/blobdiff - src/compiler/dmd/dmain2.d
fix support for file/line
[software/druntime.git] / src / compiler / dmd / dmain2.d
index ec42e66fe26e10cb67e0486c1ea324544fc91831..8c2205249aac6fdadb2d45af5be590ca9f9a225c 100644 (file)
@@ -241,7 +241,7 @@ extern (C) int main(int argc, char **argv)
                     if (e.file)
                     {
                        // fprintf(stderr, "%.*s(%u): %.*s\n", e.file, e.line, e.msg);
-                       console (e.classinfo.name)("@")(e.file)("(")(e.line)("): ")(e.toString)("\n");
+                       console (e.classinfo.name)("@")(e.file)("(")(e.line)("): ")(e.msg)("\n");
                     }
                     else
                     {