Skip to content

Commit

Permalink
Fixed incorrect empty check.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcoblenz committed Dec 4, 2019
1 parent 1c23080 commit bb01fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/edu/cmu/cs/obsidian/typecheck/Checker.scala
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ class Checker(globalTable: SymbolTable, verbose: Boolean = false) {
return Right(ContractUndefinedError(c1.contractName))
}

if (c1Lookup.isEmpty) {
if (c2Lookup.isEmpty) {
return Right(ContractUndefinedError(c2.contractName))
}

Expand Down

0 comments on commit bb01fc5

Please sign in to comment.