[Issue 14666] [REG2.061] Bogus forward reference error
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Tue Jun  9 22:35:01 PDT 2015
    
    
  
https://issues.dlang.org/show_bug.cgi?id=14666
--- Comment #4 from deadalnix <deadalnix at gmail.com> ---
Sorry for the missing filenames, here they are:
******  d/base/location.d  ***********
module d.base.location;
struct Location {
    import d.base.name;
}
******  d/base/name.d  ***********
auto getNames() {
    import d.lexer;
}
enum Names = getNames;
******  d.lexer.d  ***********
module d.lexer;
import d.base.location;
struct Token {
    Location location;
}
*****************
$ dmd -c d/base/location.d
--
    
    
More information about the Digitalmars-d-bugs
mailing list