This makes Clutz handle patterns like
const mod = goog.require(...);
const z = mod.SomeEnum;
exports.z = z;
In particular, it matches the second line (mod.SomeEnum).
I find this code pretty suspicious but it is very close to working so
I think the best path is to just push it over the finish line, despite
my reservations.
support getprop expressions in clutz alias map
This makes Clutz handle patterns like const mod = goog.require(...); const z = mod.SomeEnum; exports.z = z; In particular, it matches the second line (mod.SomeEnum).
I find this code pretty suspicious but it is very close to working so I think the best path is to just push it over the finish line, despite my reservations.