ignore this expressions in Scope#generateTempBasedOnNode - fixes #1033
This commit is contained in:
parent
4d965b0f46
commit
976e8c1cfd
@ -199,6 +199,10 @@ export default class Scope {
|
||||
*/
|
||||
|
||||
generateTempBasedOnNode(node: Object): ?Object {
|
||||
if (t.isThisExpression(node)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (t.isIdentifier(node) && this.hasBinding(node.name)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user