[Issue 7190] Tuple length incorrect

2017-07-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7190

Vladimir Panteleev  changed:

   What|Removed |Added

   See Also||https://issues.dlang.org/sh
   ||ow_bug.cgi?id=7464

--


[Issue 7190] Tuple length incorrect

2012-01-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7190



--- Comment #1 from Kenji Hara k.hara...@gmail.com 2012-01-01 06:37:02 PST ---
This is a forward reference bug.

Workaround in core/Model.d:

 class SqlitePersister(T) {
+static assert(T.sizeof);  // force running semantic of T
+  // to resolve sizeof property
 static assert(T.tupleof.length  0, T.stringof ~ `(` ~ (T.tupleof.length
 + '0') ~ `): ` ~
T.tupleof.stringof);
 }

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


[Issue 7190] Tuple length incorrect

2012-01-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7190


Kenji Hara k.hara...@gmail.com changed:

   What|Removed |Added

   Keywords||patch
   Platform|Other   |All


--- Comment #2 from Kenji Hara k.hara...@gmail.com 2012-01-01 07:23:02 PST ---
https://github.com/D-Programming-Language/dmd/pull/595

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


[Issue 7190] Tuple length incorrect

2012-01-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7190


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||bugzi...@digitalmars.com
 Resolution||FIXED


--- Comment #3 from Walter Bright bugzi...@digitalmars.com 2012-01-01 
17:14:27 PST ---
https://github.com/D-Programming-Language/dmd/commit/39124548bdab79769afe5699c50fe6e79421bcda

https://github.com/D-Programming-Language/dmd/commit/3d4b0b6d6f82bd03ce57e581cbe16e8fb4af0d7a

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