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 {
8080 return node;
8181 }
8282
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;
8687 if (parent is FunctionNode && parent.name == node && ! parent.isExpression) {
8788 node = parent.parent;
8889 }
Original file line number Diff line number Diff line change 3636 path=$(python -c "import os.path; print os.path.relpath('$file', '$BASEDIR')")
3737 printf "%-50s" $path
3838
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
4040 rm -f tmp/$name.err
4141 else
4242 echo "[EXCEPTION]"
You can’t perform that action at this time.
0 commit comments