Bug 8747 – isAssignable!(int, const(int)) is false

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-10-03T09:57:00Z
Last change time
2012-10-05T22:42:23Z
Assigned to
verylonglogin.reg
Creator
verylonglogin.reg
Depends on
8753

Comments

Comment #0 by verylonglogin.reg — 2012-10-03T09:57:01Z
--- static assert( isAssignable!(int, immutable(int))); // fails ---
Comment #1 by verylonglogin.reg — 2012-10-03T10:01:35Z
Comment #2 by k.hara.pg — 2012-10-04T06:55:58Z
It seems to me that the root issue is a compiler bug. I filed it as bug 8753 and made dependency between 8747 and 8753.
Comment #3 by github-bugzilla — 2012-10-04T07:11:58Z
Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/f30660baa66b8f7210440e57a0478b315b9ab52f Fix Issue 8747 - isAssignable!(int, const(int)) is false https://github.com/D-Programming-Language/phobos/commit/89ee7f43c5207512b503faa60958ae1d1baed252 Merge pull request #832 from denis-sh/fix-Issue-8747 Fix Issue 8747 - isAssignable!(int, const(int)) is false