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


Ellery Newcomer <ellery-newco...@utulsa.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ellery-newco...@utulsa.edu


--- Comment #1 from Ellery Newcomer <ellery-newco...@utulsa.edu> 2010-03-21 
22:31:02 PDT ---
(In reply to comment #0)
> It doesn't make sense to have array slice be part of the BasicType2 rule.  
> This
> rule is for type constructs and array slices only make sense in expressions.

They aren't array slices. They're tuple slices, eg:

template T(E...){
    alias E T;
}
void main(){
    alias T!(char,int,float) K;
    alias K[1..$] J; // (int, float)
}

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

Reply via email to