We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a463db commit 119596aCopy full SHA for 119596a
lib/src/ast.dart
@@ -130,7 +130,7 @@ class Name extends Node {
130
Scope scope;
131
132
/// True if this refers to a variable name.
133
- bool get isVariable => parent is NameExpression || parent is FunctionExpression || parent is VariableDeclarator || parent is CatchClause;
+ bool get isVariable => parent is NameExpression || parent is FunctionNode || parent is VariableDeclarator || parent is CatchClause;
134
135
/// True if this refers to a property name.
136
bool get isProperty =>
0 commit comments