void () { final PyExpression expression = parseExpr(""" from collections import namedtuple class C: FIELDS = ('a', 'b') FIELDS = C.FIELDS expr = namedtuple('Tup', FIELDS)"""); getTypeEvalContexts(expression).forEach(context -> context.getType(expression)); }