[Issue 8381] Uniform function call syntax (pseudo member) enhancement suggestions

2017-07-05 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8381 Vladimir Panteleev changed: What|Removed |Added Status|NEW

[Issue 8381] Uniform function call syntax (pseudo member) enhancement suggestions

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8381 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Version|unspecified |D2 --

[Issue 8381] Uniform function call syntax (pseudo member) enhancement suggestions

2012-07-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8381 David Piepgrass qwertie...@gmail.com changed: What|Removed |Added CC|

[Issue 8381] Uniform function call syntax (pseudo member) enhancement suggestions

2012-07-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8381 --- Comment #2 from David Piepgrass qwertie...@gmail.com 2012-07-12 09:24:36 PDT --- (not merely a @disabled default constructor, but no constructor at all). Also, declaring an instance of a static class is not possible either, so that given

[Issue 8381] Uniform function call syntax (pseudo member) enhancement suggestions

2012-07-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8381 --- Comment #3 from Tommi tommitiss...@hotmail.com 2012-07-12 10:08:16 PDT --- (In reply to comment #1) - The rule is non-obvious. How could a new developer possibly guess that this happens? You could also argue that it's not obvious that:

[Issue 8381] Uniform function call syntax (pseudo member) enhancement suggestions

2012-07-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8381 deadalnix deadal...@gmail.com changed: What|Removed |Added CC||deadal...@gmail.com

[Issue 8381] Uniform function call syntax (pseudo member) enhancement suggestions

2012-07-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8381 --- Comment #5 from Tommi tommitiss...@hotmail.com 2012-07-12 10:50:58 PDT --- One small point I forgot to mention about my lowering proposal, which is that besides adding static pseudo-member functions, you can also add types. For example:

[Issue 8381] Uniform function call syntax (pseudo member) enhancement suggestions

2012-07-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8381 --- Comment #6 from David Piepgrass qwertie...@gmail.com 2012-07-12 12:06:36 PDT --- Argh, so many typos, I should be careful when I rename things... // Static helper method provides an easy way to create MyClass public static Foo

[Issue 8381] Uniform function call syntax (pseudo member) enhancement suggestions

2012-07-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8381 --- Comment #7 from David Piepgrass qwertie...@gmail.com 2012-07-12 12:21:21 PDT --- It almost looks like we're trying to pass MyType as first argument to the function, but because we can't pass type as function argument, we pass it as