Skip to content

Commit 94e5f70

Browse files
committed
Remove dead code
1 parent d2913f9 commit 94e5f70

File tree

3 files changed

+0
-28
lines changed

3 files changed

+0
-28
lines changed

src/core/IronPython/Compiler/Ast/AsyncStatement.cs

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/core/IronPython/Compiler/Ast/PythonNameBinder.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -351,11 +351,6 @@ public override bool Walk(AsyncForStatement node) {
351351
node.Parent = _currentScope;
352352
return base.Walk(node);
353353
}
354-
// AsyncStatement
355-
public override bool Walk(AsyncStatement node) {
356-
node.Parent = _currentScope;
357-
return base.Walk(node);
358-
}
359354
// AsyncWithStatement
360355
public override bool Walk(AsyncWithStatement node) {
361356
node.Parent = _currentScope;

src/core/IronPython/Compiler/Ast/PythonWalker.Generated.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,6 @@ public virtual void PostWalk(AssignmentStatement node) { }
144144
public virtual bool Walk(AsyncForStatement node) { return true; }
145145
public virtual void PostWalk(AsyncForStatement node) { }
146146

147-
// AsyncStatement
148-
public virtual bool Walk(AsyncStatement node) { return true; }
149-
public virtual void PostWalk(AsyncStatement node) { }
150-
151147
// AsyncWithStatement
152148
public virtual bool Walk(AsyncWithStatement node) { return true; }
153149
public virtual void PostWalk(AsyncWithStatement node) { }
@@ -415,10 +411,6 @@ public override void PostWalk(AssignmentStatement node) { }
415411
public override bool Walk(AsyncForStatement node) { return false; }
416412
public override void PostWalk(AsyncForStatement node) { }
417413

418-
// AsyncStatement
419-
public override bool Walk(AsyncStatement node) { return false; }
420-
public override void PostWalk(AsyncStatement node) { }
421-
422414
// AsyncWithStatement
423415
public override bool Walk(AsyncWithStatement node) { return false; }
424416
public override void PostWalk(AsyncWithStatement node) { }

0 commit comments

Comments
 (0)