mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-29 12:24:45 +00:00
Fix trait implementation check
This commit is contained in:
parent
3d35db4e3b
commit
968d3b5d2c
8 changed files with 147 additions and 67 deletions
|
@ -2832,7 +2832,7 @@ impl Parser {
|
|||
) -> ParseResult<LambdaSignature> {
|
||||
debug_call_info!(self);
|
||||
let sig = self
|
||||
.convert_rhs_to_param(*tasc.expr, true)
|
||||
.convert_rhs_to_param(Expr::TypeAsc(tasc), true)
|
||||
.map_err(|_| self.stack_dec())?;
|
||||
self.level -= 1;
|
||||
Ok(LambdaSignature::new(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue