--- 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 UsbDevice"
/usr/include/d/dmd/phobos/std/functional.d(87):        instantiated from here:
/usr/include/d/dmd/phobos/std/algorithm.d(2699):        instantiated from here:
ampt/field_computer/usbmon.d(312):        instantiated from here:
find!("a.parent_id == usb_id",Filter!(gateways_pred,UsbDevice[]))


ampt/field_computer/usbmon.d(295): Error: cannot implicitly convert expression
(filter(devlist)) of type Filter!(gateways_pred,UsbDevice[]) to UsbDevice[]

That all makes functional style marginal - I do not know when and why it break
next time.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to