diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2016-08-21 20:55:23 +0200 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2016-09-09 12:03:25 +0200 |
commit | 27c93465dcf0d5233c1195d1649f5e699ed54a90 (patch) | |
tree | b8321dcfc73d9543223e3be70669b7936814e2e0 /kernel/nativecode.ml | |
parent | 01d0c1224e0a29f10b2cef5b3fd2b4d06a686055 (diff) |
Packing the named_context_val in a proper record and marking it private.
Diffstat (limited to 'kernel/nativecode.ml')
-rw-r--r-- | kernel/nativecode.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/nativecode.ml b/kernel/nativecode.ml index 87302dcf5..79930f6ad 100644 --- a/kernel/nativecode.ml +++ b/kernel/nativecode.ml @@ -1845,7 +1845,7 @@ and compile_rel env sigma univ auxdefs n = and compile_named env sigma univ auxdefs id = let open Context.Named.Declaration in - match Context.Named.lookup id env.env_named_context with + match Context.Named.lookup id env.env_named_context.env_named_ctx with | LocalDef (_,t,_) -> let code = lambda_of_constr env sigma t in let auxdefs,code = compile_with_fv env sigma univ auxdefs None code in |