Skip to content

Commit

Permalink
implement fetch device
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcosZyk committed Jun 22, 2024
1 parent 1770d60 commit f3677d2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ private Visitor(
@Override
public Scope process(Node node, Optional<Scope> scope) {
Scope returnScope = super.process(node, scope);
if (node instanceof CreateDevice) {
if (node instanceof CreateDevice || node instanceof FetchDevice) {
return returnScope;
}
checkState(
Expand Down Expand Up @@ -2433,7 +2433,7 @@ protected Scope visitCreateDevice(CreateDevice node, Optional<Scope> context) {

@Override
protected Scope visitFetchDevice(FetchDevice node, Optional<Scope> context) {
return Scope.builder().build();
return null;
}
}

Expand Down

0 comments on commit f3677d2

Please sign in to comment.