← Back to index
|
Original Bugzilla link
Bug 13715 – Access violation when Algebraic(null) is used as default parameter
Status
RESOLVED
Resolution
WORKSFORME
Severity
major
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2014-11-11T22:12:00Z
Last change time
2015-01-13T06:01:44Z
Assigned to
nobody
Creator
mrsmith33
Comments
Comment #0
by mrsmith33 — 2014-11-11T22:12:23Z
import std.variant; alias Algebraic!( typeof(null) ) Value; void func(Value val = Value(null)) // Access violation { } void main() { func(); }
Comment #1
by peter.alexander.au — 2015-01-02T09:18:21Z
Cannot repro on OS X v2.066.0. Can someone else repro on Windows?
Comment #2
by k.hara.pg — 2015-01-13T06:01:44Z
Issue doesn't reproduce with: 2.064, 2.065, 2.066, 2.066.1, and git-head in Windows.