[Issue 8243] cannot initialize tuple with an element at module scope

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jul 18 01:59:37 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=8243

bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc

--- Comment #4 from bearophile_hugs at eml.cc ---
(In reply to timon.gehr from comment #3)

> alias Seq(T...)=T;
> void main(){
>     Seq!(int,int) a=12;
> }

I suggest to disallow this.

--


More information about the Digitalmars-d-bugs mailing list