Skip to content

Commit

Permalink
fix unapply for predefined func application;
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat committed Dec 31, 2018
1 parent 6e85d60 commit a3ea5b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/sigmastate/lang/SigmaPredef.scala
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ object SigmaPredef {
case Ident(name, _) => registry.funcs
.find(_.name == name)
.map(f => f.irBuilder(apply.func, apply.args))
case _ => sys.error(s"expected Ident, got ${apply.func}")
case _ => None
}
}

Expand Down

0 comments on commit a3ea5b2

Please sign in to comment.