[Issue 10856] [2.064 git-head] Errors building phobos docs
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Aug 25 05:58:17 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10856
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrej.mitrovich at gmail.com
--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-08-25 05:58:15 PDT ---
(In reply to comment #0)
> Not sure if this is a DMD or phobos problem, but in the post-2.062.2 github
> master (using linux, haven't tried on windows), building the phobos docs
> results in these compiler errors:
Are you sure you're using git-head DMD when building the docs? The faulting
line is:
return new UTFException(msg, i).setSequence(sequence[0 .. i]);
This syntax (using new Type.method) was introduced in git-head. Try this out:
-----
class C { int foo() { return 0; } }
void main()
{
auto x = new C().foo();
}
-----
This will fail with a 2.063.2 compiler, but it works in git-head.
--
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