fix: applyAttributes at 'let rec'
This commit is contained in:
parent
9ffd1b1672
commit
1afecc3fbf
1 changed files with 1 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ decls ← (letRec.getArg 1).getArgs.getSepElems.mapM fun attrDeclStx => do {
|
|||
currDeclName? ← getDeclName?;
|
||||
let declName := currDeclName?.getD Name.anonymous ++ shortDeclName;
|
||||
checkNotAlreadyDeclared declName;
|
||||
applyAttributes declName attrs AttributeApplicationTime.beforeElaboration;
|
||||
let binders := (decl.getArg 1).getArgs;
|
||||
let typeStx := expandOptType decl (decl.getArg 2);
|
||||
(type, numParams) ← elabBinders binders fun xs => do {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue