diff options
| author | Emilio Jesus Gallego Arias | 2018-08-09 16:11:18 +0200 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2019-10-07 10:22:15 +0200 |
| commit | abecd3e644e1ff29c5a425a0efe5def5cb49be4c (patch) | |
| tree | 58ef152ed9f6893ae587d4ff12f83761b5c7f8d4 /engine | |
| parent | ef7cade43d514cb8f3d6022c298fdc467fcc4a33 (diff) | |
(Partially) Revert "Make Environ.globals abstract."
This (partially) reverts commit 3984f3c1db51f7b788ad49eafb7647774e8d1f53.
This broke clients wanting to inspect the enviroment, see
https://github.com/coq/coq/pull/7745#issuecomment-411597610
There is a need for clients to inspect the global environment, we keep
the record private as to concerns regarding its use, so even if no
function in the kernel is taking a `globals` as an input, we transmit
to clients its read-only nature.
We take the opportunity to refactor the record into a module with
scoped constructors.
Diffstat (limited to 'engine')
0 files changed, 0 insertions, 0 deletions
