Bug 6379 – std.container.SList fails to compile

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2011-07-25T07:35:00Z
Last change time
2012-07-23T14:33:23Z
Assigned to
nobody
Creator
htvennik

Comments

Comment #0 by htvennik — 2011-07-25T07:35:50Z
(line numbers for Phobos as it comes with D 2.054) On std/container.d line 944, the definition of SList.Range.empty is missing @property. This makes the definition of linearRemove on line 1287 fail to compile: std/container.d(1288): Error: template instance Take!(Range) does not match any template declaration std/container.d(1287): Error: Take!(Range) is used as a type
Comment #1 by ellery-newcomer — 2012-07-23T14:33:23Z