[Issue 11078] Diagnostic for wrong RHS in property assign of a property group should improve

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Sep 20 13:57:15 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=11078



--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-09-20 13:57:14 PDT ---
(In reply to comment #0)
> $ dmd test.d
> > test.d(12): Error: s1.value is not an lvalue

To see the expected diagnostic, just comment out the getter and you'll get:

> test.d(12): Error: function test.S1.value (int n) is not callable 
> using argument types (double)

Much better.

-- 
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