[Issue 8934] Lambda violates DMD assertion

2013-03-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8934


Brad Roberts bra...@puremagic.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||bra...@puremagic.com
 Resolution||WORKSFORME


--- Comment #4 from Brad Roberts bra...@puremagic.com 2013-03-16 12:39:52 PDT 
---
Based on the last comment, it's no longer reproducible.  This means that this
bug was likely a duplicate of another which was fixed between when the but was
reported and then re-tested.

Please feel free to re-open if you can reproduce it.

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


[Issue 8934] Lambda violates DMD assertion

2012-12-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8934


Dmitry S ds.dl...@gmail.com changed:

   What|Removed |Added

 CC||ds.dl...@gmail.com


--- Comment #3 from Dmitry S ds.dl...@gmail.com 2012-12-17 01:24:08 PST ---
I tried to reproduce, but the following code compiles and works correctly with
dmd built from the current github head (on MacOSX):

  import std.stdio;
  import std.algorithm;

  string modules[] = [ foo, bar, zoo ];

  int main(string[] args) {
  foreach (string line; [hello, bar, world]) {
  if (any!(a = a == line)(modules)) {
  writeln(line,  found);
  } else {
  writeln(line,  not found);
  }
  }
  return 0;
  }

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


[Issue 8934] Lambda violates DMD assertion

2012-11-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8934



--- Comment #1 from Dimitri Sabadie dimitri.saba...@gmail.com 2012-11-02 
04:40:29 PDT ---
Just to precise — as the topic name does — DMD fails to say that the error is
on the lambda expression in the if statement. Instead it prints internal shit
assertions.

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


[Issue 8934] Lambda violates DMD assertion

2012-11-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8934


Maxim Fomin ma...@maxim-fomin.ru changed:

   What|Removed |Added

 CC||ma...@maxim-fomin.ru


--- Comment #2 from Maxim Fomin ma...@maxim-fomin.ru 2012-11-02 05:03:14 PDT 
---
Regarding lambdas - it is well-known issue which consists in treating lambda
expression as voids: see issue 8899. Regarding internal compiler error - please
provide exact code which shows problem.

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