chore: rename projection function major field to self
This is useful for projection function for classes + named arguments.
This commit is contained in:
parent
d18e8d95b9
commit
a124461dca
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ environment mk_projections(environment const & env, name const & n, buffer<name>
|
|||
}
|
||||
expr C_A = mk_app(mk_constant(n, lvls), params);
|
||||
binder_info c_bi = inst_implicit ? mk_inst_implicit_binder_info() : mk_binder_info();
|
||||
expr c = lctx.mk_local_decl(ngen, name("c"), C_A, c_bi);
|
||||
expr c = lctx.mk_local_decl(ngen, name("self"), C_A, c_bi);
|
||||
buffer<expr> cnstr_type_args; // arguments that are not parameters
|
||||
expr it = cnstr_type;
|
||||
while (is_pi(it)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue