[Issue 270] Compiler allows and crashes on typedefs of	"immediate"-function types
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue Aug 15 10:40:08 PDT 2006
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=270
brunodomedeiros+bugz at gmail.com changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |
------- Comment #4 from brunodomedeiros+bugz at gmail.com  2006-08-15 12:40 -------
Static arrays (as the first example) now work correctly, but there is still the
same bug with dynamic arrays. (Associative Arrays seem to work correctly.)
Example:
-----
typedef int ft(int);
ft[] x;  // is allowed 
void test() {
    x.length = 2;  // crashes DMD
}
-- 
    
    
More information about the Digitalmars-d-bugs
mailing list