[Issue 769] Property not properly compiled - (error on valid code)
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sat May  5 09:53:38 PDT 2007
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=769
smjg at iname.com changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg at iname.com
           Keywords|                            |rejects-valid
------- Comment #2 from smjg at iname.com  2007-05-05 11:53 -------
Here's some code that really does reproduce the problem:
class DataManager {
    static DataManager dataManager;
public:
    static DataManager instance() {
        if (dataManager is null) {
            dataManager=new DataManager;
        }
        return dataManager;
    }
    T get(T)(long row) {
        return T.init;
    }
}
void main() {
    (DataManager.instance).get!(int)(123);
}
-- 
    
    
More information about the Digitalmars-d-bugs
mailing list