Bug 2602 – std.bind doesnt work

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2009-01-21T19:17:00Z
Last change time
2015-06-09T01:20:59Z
Assigned to
bugzilla
Creator
site.puremagic.com

Comments

Comment #0 by site.puremagic.com — 2009-01-21T19:17:48Z
I cant seem to get std.bind to do anything anymore import std.bind; void foo() { } void main() { auto dg = bind(&foo); } $ dmd test.d ... std/traits.d(96): Error: argument EmptySlot to typeof is not an expression
Comment #1 by rayerd.wiz — 2009-01-22T10:13:44Z
*** This bug has been marked as a duplicate of 1541 ***