Rethinking TypeAnnotation vs Annotation

Eric McCorkle eric.mccorkle at
Thu Feb 6 16:14:42 PST 2014

On 02/06/14 16:26, Joel Borggrén-Franck wrote:

> I have never been a big fan of the TypeCompound class at all. Also reading some more in 9.7.4 it looks like annotation can be both a type anno and a declaration anno. So, from my perspective, dumping TypeCompound and moving its data up to Compound seems like something to try out.

I had not thought of dumping TypeCompound, but it sounds like a good
idea.  It would certainly eliminate a lot of code path duplication.  I
would like to do that maybe one patch from now, though.  Figuring out
TypeAnnotationPositions in MemberEnter is enough for one patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eric_mccorkle.vcf
Type: text/x-vcard
Size: 303 bytes
Desc: not available
Url : 

More information about the compiler-dev mailing list