Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
rdhananjaya committed Jul 9, 2019
1 parent 42ba054 commit aee3c84
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,6 @@ public void visit(BLangErrorVariable varNode) {
varNode.type = errorType;
} else if (varNode.type.tag == TypeTags.ERROR) {
errorType.detailType = ((BErrorType) varNode.type).detailType;
//varNode.type = errorType;
}

// Set error reason type.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,7 @@ public function errorReasonSubType() returns [error, error, error, error] {
return [er_rA, er_rB, er_aALit, er_aBLit];
}

function testIndirectErrorConstructor() returns
[UserDefErrorTwoA, UserDefErrorTwoA, error, error] {
function testIndirectErrorConstructor() returns [UserDefErrorTwoA, UserDefErrorTwoA, error, error] {
var e0 = UserDefErrorTwoA(detail1="arg");
UserDefErrorTwoA e1 = UserDefErrorTwoA(detail1="arg");
return [e0, e1, e0, e1];
Expand Down

0 comments on commit aee3c84

Please sign in to comment.