mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-29 04:24:43 +00:00
Fix minor bugs
* Fix Lambda parsing bugs * Fix a bug that is registered as parameters instead of variables * Fix Lambda formatting
This commit is contained in:
parent
259ba2c172
commit
49fb4848a2
6 changed files with 9 additions and 15 deletions
|
@ -1645,10 +1645,6 @@ impl Parser {
|
|||
self.errs.push(err);
|
||||
return Err(());
|
||||
}
|
||||
// REVIEW: need this?
|
||||
while self.cur_is(Newline) {
|
||||
self.skip();
|
||||
}
|
||||
let body = self.try_reduce_block().map_err(|_| self.stack_dec())?;
|
||||
self.counter.inc();
|
||||
self.level -= 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue