[Issue 10784] New: Cannot initialize Nullable std.typecons.Tuple!(float, "x", float, "y", float, "z")

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Aug 8 16:54:56 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10784

           Summary: Cannot initialize Nullable
                    std.typecons.Tuple!(float,"x",float,"y",float,"z")
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: alienballance at gmail.com


--- Comment #0 from Mariusz Gliwiński <alienballance at gmail.com> 2013-08-08 16:54:53 PDT ---
http://dpaste.dzfl.pl/a968d7d1c

As for my understanding, the code i pasted should work like:
struct Coord
{
  float x;
  float y;
  float z;
}

void main()
{
  Nullable!Coord c = Coord(1f,2f,3f);
}

I'm sorry that i wont try to understand the reasons but i hope my bugreports
are helping.

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


More information about the Digitalmars-d-bugs mailing list