• Russ Cox's avatar
    change type names to go live at the name, so that · 74e2e087
    Russ Cox authored
    	type T struct {
    		next *T
    	}
    
    and
    
    	type T *struct {
    		next T
    	}
    
    are valid without needing forward declarations.
    
    add "type T struct" syntax for forward struct declarations.
    
    add "type T interface" syntax, but commented out
    	(need to fix semicolons first)
    
    R=ken
    DELTA=452  (259 added, 115 deleted, 78 changed)
    OCL=16580
    CL=16584
    74e2e087
golden.out 5 KB