www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10357] New: std.typecons.Nullable!(SysTime).Nullable.__ctor!() error instantiating

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10357

           Summary: std.typecons.Nullable!(SysTime).Nullable.__ctor!()
                    error instantiating
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: kroeplin.d googlemail.com



10:15:10 PDT ---
With D 2.063, the following code does no longer compile:

import std.datetime;
import std.typecons;

unittest
{
    Nullable!SysTime time = SysTime(0);
}

The error message is:

/src/phobos/std/typecons.d(1178): Error: mutable method
std.datetime.SysTime.opAssign is not callable using a inout object
Error: template instance std.typecons.Nullable!(SysTime).Nullable.__ctor!()
error instantiating

The fix for Issue 10268 doesn't help.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 14 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10357


Jesse Phillips <Jesse.K.Phillips+D gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Jesse.K.Phillips+D gmail.co
                   |                            |m



13:13:48 PDT ---

 With D 2.063, the following code does no longer compile:
 
 import std.datetime;
 import std.typecons;
 
 unittest
 {
     Nullable!SysTime time = SysTime(0);
 }
A work around is: unittest { Nullable!SysTime time; time = SysTime(0); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 15 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10357


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, rejects-valid



https://github.com/D-Programming-Language/phobos/pull/1612

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 02 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10357




Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/55bc6fc1de30ab58b667c1a0e227f92208a0bece
fix Issue 10357 - std.typecons.Nullable!(SysTime).Nullable.__ctor!() error
instantiating

Add a workaround until qualified postblit is properly implemented.

https://github.com/D-Programming-Language/phobos/commit/e478ddef9e230c66f0d7992e5abf6151c4aea9e6


[REG2.063] Issue 10357 - std.typecons.Nullable!(SysTime).Nullable.__ctor!()
error instantiating

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 10 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10357


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 10 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10357




Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/4844aef982cb8e33372ecd5b58530f0e70c2af72
Remove workaround for issue 10357

Because the root compiler issue 9665 has been fixed.

https://github.com/D-Programming-Language/phobos/commit/cbd3983b597e7d5e77eb63568b046525712425e2


Remove workaround for issue 10357

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 14 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10357




Commit pushed to 2.064 at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/0e688d03e6452accde51d359f1b2d629b99b31d5


Remove workaround for issue 10357

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 14 2013