[Issue 13397] allow postfix function attributes like 'safe', 'system' and so on without '@'

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

[Issue 13397] allow postfix function attributes like 'safe', 'system' and so on without '@'

2014-08-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13397 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Comment

[Issue 13397] allow postfix function attributes like 'safe', 'system' and so on without '@'

2014-08-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13397 Ketmar Dark ket...@ketmar.no-ip.org changed: What|Removed |Added Attachment #1394|0 |1 is obsolete|

[Issue 13397] allow postfix function attributes like 'safe', 'system' and so on without '@'

2014-08-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13397 --- Comment #3 from Ketmar Dark ket...@ketmar.no-ip.org --- Created attachment 1396 -- https://issues.dlang.org/attachment.cgi?id=1396action=edit this must compile --

[Issue 13397] allow postfix function attributes like 'safe', 'system' and so on without '@'

2014-08-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13397 --- Comment #4 from Ketmar Dark ket...@ketmar.no-ip.org --- Created attachment 1397 -- https://issues.dlang.org/attachment.cgi?id=1397action=edit this must fail 3 times with cannot use 'new' in @nogc --

[Issue 13397] allow postfix function attributes like 'safe', 'system' and so on without '@'

2014-08-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13397 --- Comment #5 from Ketmar Dark ket...@ketmar.no-ip.org --- (In reply to bearophile_hugs from comment #1) Contextual keywords as in C++? :-) why not? ;-) it works, it looks nice, it doesn't breaking any existing code. and it looks much cleaner

[Issue 13397] allow postfix function attributes like 'safe', 'system' and so on without '@'

2014-08-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13397 --- Comment #6 from bearophile_h...@eml.cc --- (In reply to Ketmar Dark from comment #5) (In reply to bearophile_hugs from comment #1) Contextual keywords as in C++? :-) why not? ;-) Because it introduces complexity and the return of

[Issue 13397] allow postfix function attributes like 'safe', 'system' and so on without '@'

2014-08-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13397 --- Comment #7 from Ketmar Dark ket...@ketmar.no-ip.org --- (In reply to bearophile_hugs from comment #6) Because it introduces complexity and the return of investment is minimal. i don't think that making language slightly more human-friendly is

[Issue 13397] allow postfix function attributes like 'safe', 'system' and so on without '@'

2014-08-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13397 --- Comment #8 from bearophile_h...@eml.cc --- (In reply to Ketmar Dark from comment #7) i don't think that making language slightly more human-friendly is why should i remember when i must put that '@' before attribute? Adding contextual

[Issue 13397] allow postfix function attributes like 'safe', 'system' and so on without '@'

2014-08-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13397 --- Comment #9 from Ketmar Dark ket...@ketmar.no-ip.org --- (In reply to bearophile_hugs from comment #8) (In reply to Ketmar Dark from comment #7) Adding contextual keywords to D is an increase in complexity for users too. aren't existing

[Issue 13397] allow postfix function attributes like 'safe', 'system' and so on without '@'

2014-08-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13397 --- Comment #10 from Kenji Hara k.hara...@gmail.com --- (In reply to Ketmar Dark from comment #2) Created attachment 1395 [details] postfix function attributes w/o '@' (better code, allows nogc {} and nogc:) Combination of prefix attribute and

[Issue 13397] allow postfix function attributes like 'safe', 'system' and so on without '@'

2014-08-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13397 --- Comment #11 from Ketmar Dark ket...@ketmar.no-ip.org --- (In reply to Kenji Hara from comment #10) Combination of prefix attribute and contextual keyword feature will cause ambiguity. I think just only postfix cases should be accepted. and my

[Issue 13397] allow postfix function attributes like 'safe', 'system' and so on without '@'

2014-08-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13397 Ketmar Dark ket...@ketmar.no-ip.org changed: What|Removed |Added Attachment #1395|0 |1 is obsolete|

[Issue 13397] allow postfix function attributes like 'safe', 'system' and so on without '@'

2014-08-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13397 Ketmar Dark ket...@ketmar.no-ip.org changed: What|Removed |Added Attachment #1398|0 |1 is obsolete|