fix(library/init/lean/compiler/ir/compilerm): borrow annotations on extern decls do not do anything right now

This commit is contained in:
Sebastian Ullrich 2019-09-08 13:33:51 +02:00
parent 3ee59aa17f
commit 560e7af128

View file

@ -92,7 +92,7 @@ registerSimplePersistentEnvExtension {
constant declMapExt : SimplePersistentEnvExtension Decl DeclMap := default _
@[export lean_ir_find_env_decl]
def findEnvDecl (env : @& Environment) (n : @& Name) : Option Decl :=
def findEnvDecl (env : Environment) (n : Name) : Option Decl :=
(declMapExt.getState env).find n
def findDecl (n : Name) : CompilerM (Option Decl) :=