failed attempt to memoize declarationastnodes