feat: add field for storing autoParam information at StructureFieldInfo
We need this information when copying fields from parent structures. We don't use hacks such as traversing the parent constructor type.
This commit is contained in:
parent
dcb974a1cf
commit
f48b822532
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ structure StructureFieldInfo where
|
|||
projFn : Name
|
||||
subobject? : Option Name -- It is `some parentStructName` if it is a subobject, and `parentStructName` is the name of the parent structure
|
||||
binderInfo : BinderInfo
|
||||
autoParam? : Option Expr := none
|
||||
deriving Inhabited, Repr
|
||||
|
||||
def StructureFieldInfo.lt (i₁ i₂ : StructureFieldInfo) : Bool :=
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue