Bug 7212 – Regression(Head): ICE with overload resolution and delegate/function inference

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
All
Creation time
2012-01-03T12:10:00Z
Last change time
2012-01-05T14:52:18Z
Keywords
ice-on-valid-code, patch
Assigned to
nobody
Creator
code

Comments

Comment #0 by code — 2012-01-03T12:10:57Z
void remove(scope bool delegate(ref int) dg) { int a; dg(a); } void remove(int value) { } void main() { remove((ref int val) => !!val); }
Comment #1 by k.hara.pg — 2012-01-03T21:14:07Z
Comment #2 by bugzilla — 2012-01-05T14:52:18Z