Skip to content

Commit

Permalink
Merge pull request #3168 from chanakaudaya/master
Browse files Browse the repository at this point in the history
Worker redclared symbol error
  • Loading branch information
sameerajayasoma authored Aug 11, 2017
2 parents 33187e0 + 3246022 commit 4191d6a
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,6 @@ public void visit(Resource resource) {
}

for (Worker worker : resource.getWorkers()) {
addWorkerSymbol(worker);
visit(worker);
}

Expand Down Expand Up @@ -668,7 +667,6 @@ public void visit(BallerinaFunction function) {

if (!function.isNative()) {
for (Worker worker : function.getWorkers()) {
//addWorkerSymbol(worker);
worker.accept(this);
}

Expand Down Expand Up @@ -716,7 +714,6 @@ public void visit(BallerinaAction action) {

if (!action.isNative()) {
for (Worker worker : action.getWorkers()) {
//addWorkerSymbol(worker);
worker.accept(this);
}

Expand Down Expand Up @@ -753,7 +750,6 @@ public void visit(Worker worker) {
// addWorkerSymbol(worker);

for (Worker worker2 : worker.getWorkers()) {
addWorkerSymbol(worker2);
worker2.accept(this);
}

Expand Down

0 comments on commit 4191d6a

Please sign in to comment.