You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that objectProperty and object are available in closure-compiler/lib/reflect.js. However I do not see any way to use these from an es6 module. I tried adding these to goog.js and using it like this:
import * as goog from 'goog.js'
const x = goog.reflect.objectProperty(...)
However goog.js only seems to work with properties of goog itself, not two-levels deep.
I end up with an ast like (GETPROPERTY objectProperty (NAME goog$reflect)), but the isPropertyRenameFunction method only allows one of these:
From our team's triage meeting - we don't have bandwidth to investigate right now but if you can find a solution besides @closurePrimitive would be happy to review
I see that
objectProperty
andobject
are available in closure-compiler/lib/reflect.js. However I do not see any way to use these from an es6 module. I tried adding these to goog.js and using it like this:However goog.js only seems to work with properties of goog itself, not two-levels deep.
I end up with an ast like
(GETPROPERTY objectProperty (NAME goog$reflect))
, but theisPropertyRenameFunction
method only allows one of these:The text was updated successfully, but these errors were encountered: