File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -80,9 +80,10 @@ class Resolver extends RecursiveVisitor {
80
80
return node;
81
81
}
82
82
83
- Scope findScope (Name node) {
84
- String name = node.value;
85
- Node parent = node.parent;
83
+ Scope findScope (Name nameNode) {
84
+ String name = nameNode.value;
85
+ Node parent = nameNode.parent;
86
+ Node node = nameNode;
86
87
if (parent is FunctionNode && parent.name == node && ! parent.isExpression) {
87
88
node = parent.parent;
88
89
}
Original file line number Diff line number Diff line change 36
36
path=$(python -c "import os.path; print os.path.relpath('$file', '$BASEDIR')")
37
37
printf "%-50s" $path
38
38
39
- if dart parser_test.dart --json $file > tmp/mine.json 2> tmp/$name.err; then
39
+ if dart --checked parser_test.dart --json $file > tmp/mine.json 2> tmp/$name.err; then
40
40
rm -f tmp/$name.err
41
41
else
42
42
echo "[EXCEPTION]"
You can’t perform that action at this time.
0 commit comments