|
Archives
D Programming
digitalmars.Ddigitalmars.D.bugs digitalmars.D.dtl digitalmars.D.ide digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger D.gnu D C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
digitalmars.D.bugs - [Issue 3771] New: warn or disallow method as property usage without property attribute
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 puremagic.com ReportedBy: baryluk smp.if.uj.edu.pl --- Comment #0 from Witold Baryluk <baryluk 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: ------- Feb 05 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3771 --- Comment #1 from Witold Baryluk <baryluk smp.if.uj.edu.pl> 2010-02-05 06:23:04 PST --- Similary with array methods without brackets: a.find = b; auto c = a.toUpper; -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- Feb 05 2010
|