mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 10:49:54 +00:00
fix: keyword argument bugs
This commit is contained in:
parent
21283b668e
commit
80872fc50e
14 changed files with 166 additions and 74 deletions
|
@ -1214,7 +1214,7 @@ impl Context {
|
|||
vec![],
|
||||
);
|
||||
let sig = Signature::Subr(sig);
|
||||
let call = Identifier::private("p!").call(Args::empty());
|
||||
let call = Identifier::public("p!").call(Args::empty());
|
||||
let block = Block::new(vec![Expr::Call(call)]);
|
||||
let body = DefBody::new(Token::DUMMY, block, DefId(0));
|
||||
let perform = Def::new(sig, body);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue