fix: WIP
This commit is contained in:
@@ -316,13 +316,7 @@ impl<Ctx: DowngradeContext> Downgrade<Ctx> for ast::Lambda {
|
||||
allowed = if ellipsis {
|
||||
None
|
||||
} else {
|
||||
Some(
|
||||
formals
|
||||
.into_iter()
|
||||
.filter(|(_, default)| default.is_some())
|
||||
.map(|(k, _)| k)
|
||||
.collect(),
|
||||
)
|
||||
Some(formals.into_iter().map(|(k, _)| k).collect())
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user