[Issue 9549] New: Regression (2.062): Compiler spits out unrelated messages on error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Feb 19 20:54:51 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9549
Summary: Regression (2.062): Compiler spits out unrelated
messages on error
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: diagnostic
Severity: regression
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: andrej.mitrovich at gmail.com
--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-02-19 20:54:50 PST ---
import std.range;
void main()
{
int x;
x ~= 1.0;
}
2.061:
$ dmd -unittest test.d
> test.d(6): Error: cannot append type double to type int
2.062:
$ dmd -unittest test.d
test.d(6): Error: cannot append type double to type int
D:\DMD\dmd2\windows\bin\..\..\src\phobos\std\range.d(611): Error: static assert
"Cannot put a char[] into a A
ppender!(string)"
D:\DMD\dmd2\windows\bin\..\..\src\phobos\std\format.d(1436):
instantiated from here: put!(Appender!(str
ing), char[])
D:\DMD\dmd2\windows\bin\..\..\src\phobos\std\format.d(1338):
instantiated from here: formatUnsigned!(Ap
pender!(string), char)
D:\DMD\dmd2\windows\bin\..\..\src\phobos\std\format.d(1312):
instantiated from here: formatIntegral!(Ap
pender!(string), ulong, char)
D:\DMD\dmd2\windows\bin\..\..\src\phobos\std\conv.d(100): ... (6
instantiations, -v to show) ...
D:\DMD\dmd2\windows\bin\..\..\src\phobos\std\complex.d(144):
instantiated from here: formattedWrite!(vo
id delegate(const(char)[]), char, const(real))
D:\DMD\dmd2\windows\bin\..\..\src\phobos\std\complex.d(678):
instantiated from here: Complex!(real)
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list