Moving back to .NET
anonymous2 via Digitalmars-d
digitalmars-d at puremagic.com
Sun Sep 20 11:28:35 PDT 2015
On Sunday, 20 September 2015 at 17:39:46 UTC, Andrei Alexandrescu
wrote:
> On 09/20/2015 01:32 PM, Adam wrote:
>> For me, .NET is like heaven, D is like hell: It's almost
>> exclusively due
>> to the error messages and IDE.
>
> Off the top of your head, can you list a few of the worst error
> messages you've encountered?
>
> Also, what are the most important features VisualD is lacking?
>
>
> Andrei
my favourite:
void foo(ref int a) {}
void main() {
foo(42);
}
DMD64 D Compiler v2.068.2-b1:
Error: function a.foo (ref int a) is not callable using argument
types (int)
Issue:
https://issues.dlang.org/show_bug.cgi?id=11529
maybe there are more related issues in the bug tracker.
Based on a quick look in the C++ frontend some time ago, this
should be quite simple to fix by inserting a check for 'rvalue as
ref' before the error message is printed. At the moment I have
no time to figure out how dmd works and to implement this. May
there are some edge cases, too.
More information about the Digitalmars-d
mailing list