Bug 12207 – IFTI fails for static method of immutable type

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-02-19T17:04:00Z
Last change time
2014-02-19T22:11:42Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
dlang-bugzilla

Comments

Comment #0 by dlang-bugzilla — 2014-02-19T17:04:17Z
struct S { static void f(T)(T) {} } immutable S s; void main() { s.f(1); }
Comment #1 by k.hara.pg — 2014-02-19T18:46:10Z
Comment #2 by github-bugzilla — 2014-02-19T21:47:06Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/b0632afd3eaff4c961bc7075fb68d11d1db7c74c fix Issue 12207 - IFTI fails for static method of immutable type https://github.com/D-Programming-Language/dmd/commit/4af603f29fc87b2c1eaa3f8fc5eb0a6b2545c8d6 Merge pull request #3291 from 9rnsr/fix12207 Issue 12207 - IFTI fails for static method of immutable type