Skip to content

Commit

Permalink
added common eo objects to setLocators
Browse files Browse the repository at this point in the history
  • Loading branch information
nikololiahim committed Mar 6, 2022
1 parent aad1ed4 commit 41fbce4
Showing 1 changed file with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,15 @@ object Context {
Map(
"seq" -> 0,
"assert" -> 0,
"random" -> 0,
"memory" -> 0,
"cage" -> 0,
"stdout" -> 0,
"sprintf" -> 0,
"goto" -> 0,
"heap" -> 0,
"ram" -> 0,
"try" -> 0,
),
0,
code.bnds,
Expand All @@ -71,8 +80,8 @@ object Context {
depth =>
expr =>
Fix.un(expr) match {
case app: EOSimpleApp[EOExprOnly] =>
resolveLocator(ctx, app.name, depth)
case EOSimpleApp(name) =>
resolveLocator(ctx, name, depth)
case other => Right(Fix(other))
}
)(modifyState =
Expand Down

0 comments on commit 41fbce4

Please # to comment.