chore: update builtin_widget_module registration code
This commit is contained in:
parent
da24708ba5
commit
032a2ecaa1
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ builtin_initialize widgetModuleAttrImpl : AttributeImpl ←
|
|||
let env ← getEnv
|
||||
if builtin then
|
||||
let h := mkConst decl
|
||||
declareBuiltin decl <| mkApp (mkConst ``addBuiltinModule) h
|
||||
declareBuiltin decl <| mkApp2 (mkConst ``addBuiltinModule) (toExpr decl) h
|
||||
else
|
||||
setEnv <| moduleRegistry.addEntry env (mod.javascriptHash, decl, e)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue