[Issue 3771] New: warn or disallow method as property usage without @property attribute
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Feb 5 06:20:04 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3771
Summary: warn or disallow method as property usage without
@property attribute
Product: D
Version: 2.040
Platform: Other
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: baryluk at smp.if.uj.edu.pl
--- Comment #0 from Witold Baryluk <baryluk at smp.if.uj.edu.pl> 2010-02-05 06:20:03 PST ---
We have now @property and in feature we will have other attributes.
It is time to not only have this syntax, but actually do something with this
information:
- emit warning when using method without call brackets on getter/setter
- emit warning when using array methods: a.find(b) == find(a, b)
--
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