Skip to content
Snippets Groups Projects
Commit 01911df9 authored by Manos Koukoutos's avatar Manos Koukoutos
Browse files

let constructor is dangerous in extractors

parent d6be5599
No related branches found
No related tags found
No related merge requests found
...@@ -83,7 +83,7 @@ object Extractors { ...@@ -83,7 +83,7 @@ object Extractors {
case MapDifference(t1,t2) => Some((t1,t2,MapDifference)) case MapDifference(t1,t2) => Some((t1,t2,MapDifference))
case MapIsDefinedAt(t1,t2) => Some((t1,t2, MapIsDefinedAt)) case MapIsDefinedAt(t1,t2) => Some((t1,t2, MapIsDefinedAt))
case ArraySelect(t1, t2) => Some((t1, t2, ArraySelect)) case ArraySelect(t1, t2) => Some((t1, t2, ArraySelect))
case Let(binder, e, body) => Some((e, body, let(binder, _, _))) case Let(binder, e, body) => Some((e, body, Let(binder, _, _)))
case Require(pre, body) => Some((pre, body, Require)) case Require(pre, body) => Some((pre, body, Require))
case Ensuring(body, post) => Some((body, post, Ensuring)) case Ensuring(body, post) => Some((body, post, Ensuring))
case Assert(const, oerr, body) => Some((const, body, Assert(_, oerr, _))) case Assert(const, oerr, body) => Some((const, body, Assert(_, oerr, _)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment