summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidshape
Commit message (Collapse)AuthorAgeFilesLines
* fixes a crash on a degenerate macro definitionEugene Burmako2013-06-071-0/+5
| | | | | | | | | | | | Previous version of the MacroImplReference extractor didn't take into the account the fact that RefTree.qualifier.symbol can be null (and it can be null if RefTree is an Ident, because then qualifier is an EmptyTree). This led to NPEs for really weird macro defs that refer to local methods as their corresponding macro impls. Now I check for this corner case, and the stuff now longer crashes. This was wrong; this is how I fixed it; the world is now a better place.
* refactors macro testsEugene Burmako2013-05-282-0/+17
putting in a nutshell, this patch: * condenses some macro-XXX-a/b/c/... bundles * renames some tests to prepare for other macro flavors * introduces some additional tests