[Issue 9257] [ER] New optional "operator" keyword to validate magic functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 7 01:33:44 PST 2014


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


Marc Schütz <schuetzm at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schuetzm at gmx.net


--- Comment #3 from Marc Schütz <schuetzm at gmx.net> 2014-02-07 01:33:39 PST ---
(In reply to comment #1)
> I don't know if the solution proposed here is the right one, but being aware
> that a problem exists is the first step toward its solution.
> 
> Probably a pseudo-keyword like "@operator" is more reasonable than "operator".

An alternative would be to make all methods string with op and then a capital
letter (i.e. /^op[A-Z]/) reserved.

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