[Issue 11529] Unclear error message when rvalue is passed as `ref'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 16 12:08:42 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11529


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-11-16 12:08:41 PST ---
2.062:
test.d(6): Error: function test.f (ref S s) is not callable using argument
types (S)
test.d(6): Error: S() is not an lvalue

2.063:
test.d(6): Error: function test.f (ref S s) is not callable using argument
types (S)

Caused by https://github.com/D-Programming-Language/dmd/pull/1842 which I
objected to.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list