[Issue 5491] filter cannot be used in a function?

2012-04-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5491 bearophile_h...@eml.cc changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 5491] filter cannot be used in a function?

2012-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5491 SomeDude changed: What|Removed |Added CC||lovelyd...@mailmetrash.com --- Comment #6 f

[Issue 5491] filter cannot be used in a function?

2011-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5491 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Com

[Issue 5491] filter cannot be used in a function?

2011-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5491 --- Comment #4 from Timofei Bolshakov 2011-01-26 11:05:52 PST --- I got several other similar errors in find, like /usr/include/d/dmd/phobos/std/functional.d(74): Error: static assert "Bad unary function: a.parent_id == usb_id for type UsbDe

[Issue 5491] filter cannot be used in a function?

2011-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5491 --- Comment #2 from Timofei Bolshakov 2011-01-26 10:50:03 PST --- And this one does not compile: __ import std.algorithm, std.conv, std.stdio; enum UsbDevType: ui

[Issue 5491] filter cannot be used in a function?

2011-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5491 --- Comment #3 from Timofei Bolshakov 2011-01-26 10:53:14 PST --- I am sorry for the line > UsbDevType.gateway; } )( devices ) ); > foreach( UsbDevice dev; gateways ) writeln( dev.toString() ); > } It is not needed there - cut and paste

[Issue 5491] filter cannot be used in a function?

2011-01-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5491 --- Comment #1 from Timofei Bolshakov 2011-01-26 10:40:17 PST --- Following variant do not work either: __ import std.algorithm, std.conv, std.stdio; enum UsbDevType: