[Issue 6620] argument evaluation order inversed for extern(C)

2018-11-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6620

Nicholas Wilson  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 CC||iamthewilsona...@hotmail.co
   ||m
 Resolution|--- |WORKSFORME

--- Comment #5 from Nicholas Wilson  ---
 2.074.1: Failure with output:
-
core.exception.AssertError@onlineapp.d(13): Assertion failure

??:? _d_assertp [0x42750d]
onlineapp.d:13 _Dmain [0x427447]
??:? _D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFNlZv
[0x427857]
??:? scope void rt.dmain2._d_run_main(int, char**, extern (C) int
function(char[][])*).tryExec(scope void delegate()) [0x427787]
??:? scope void rt.dmain2._d_run_main(int, char**, extern (C) int
function(char[][])*).runAll() [0x427800]
??:? scope void rt.dmain2._d_run_main(int, char**, extern (C) int
function(char[][])*).tryExec(scope void delegate()) [0x427787]
??:? _d_run_main [0x4276f7]
??:? main [0x42746d]
??:? __libc_start_main [0x4218982f]
-

Since  2.075.1: Success and no output

--


[Issue 6620] argument evaluation order inversed for extern(C)

2014-10-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6620

--- Comment #4 from Kenji Hara  ---
(In reply to Kenji Hara from comment #3)
> https://github.com/D-Programming-Language/dmd/pull/4035

A small supplemental documentation fix:
https://github.com/D-Programming-Language/dlang.org/pull/669

--


[Issue 6620] argument evaluation order inversed for extern(C)

2014-09-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6620

Kenji Hara  changed:

   What|Removed |Added

   Keywords||pull, wrong-code
   Hardware|Other   |All
 OS|FreeBSD |All

--- Comment #3 from Kenji Hara  ---
https://github.com/D-Programming-Language/dmd/pull/4035

--


[Issue 6620] argument evaluation order inversed for extern(C)

2014-02-13 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=6620


Johannes Pfau  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 CC||johannesp...@gmail.com
 Resolution|INVALID |


--- Comment #2 from Johannes Pfau  2014-02-13 00:22:04 
PST ---
The pull request was accepted, LTR evaluation is now required:
https://github.com/D-Programming-Language/dlang.org/pull/6

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 6620] argument evaluation order inversed for extern(C)

2011-09-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6620


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||INVALID


--- Comment #1 from yebblies  2011-09-08 14:30:51 EST ---
(In reply to comment #0)
> I know argument evaluation order isn't really guaranteed to be left to right.

It isn't guaranteed _at all_, it's undefined.  I think there's already an
enhancement open about defining the order of evaluation, but until that's
accepted this is perfectly valid behavior by the compiler.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---