-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unbound identifier when querying in REPL (#1843)
Following a refactoring that landed in 1.4, the current environment of a REPL session wasn't taken into account when querying an expression. This mean that any value introduced by a toplevel let during the session would evaluate fine but raise an unbound identifier error if one tries to query it with `:query some_id`. This commit fixes this by correctly propagating the environment in the subfunctions involved in querying.
- Loading branch information
Showing
2 changed files
with
27 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters