Bug 12037 – Link-failure with std.numeric.CustomFloat

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-01-29T21:49:00Z
Last change time
2014-02-01T04:50:51Z
Keywords
link-failure, pull
Assigned to
nobody
Creator
k.hara.pg

Comments

Comment #0 by k.hara.pg — 2014-01-29T21:49:51Z
This is a compiler regression in git-head and from 2.065-b3 (not yet released). Test case: import std.numeric; alias CustomFloat!16 Float16; void main() { Float16 f = 0; } Caused by: https://github.com/D-Programming-Language/dmd/pull/3103
Comment #1 by k.hara.pg — 2014-01-29T21:59:05Z
Comment #2 by github-bugzilla — 2014-01-29T22:51:16Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/43be2eda49618259a543936d9e69c7b0f18f6591 fix Issue 12037 - Link-failure with std.numeric.CustomFloat https://github.com/D-Programming-Language/dmd/commit/f19ea41b3d04953a20c7106945473913f88424d6 Merge pull request #3177 from 9rnsr/fix12037 [REG2.065a] Issue 12037 - Link-failure with std.numeric.CustomFloat
Comment #3 by github-bugzilla — 2014-02-01T04:50:51Z
Commit pushed to 2.065 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/076f3b5a23acdcfaaffdda9f65087bf6f67404eb Merge pull request #3177 from 9rnsr/fix12037 [REG2.065a] Issue 12037 - Link-failure with std.numeric.CustomFloat