mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-29 04:24:43 +00:00
Merge branch 'do-parse'
This commit is contained in:
commit
f847029e16
3 changed files with 48 additions and 1 deletions
|
@ -2269,6 +2269,15 @@ impl LambdaSignature {
|
|||
bounds,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn do_sig(do_symbol: &Token) -> Self {
|
||||
let parens = Some((do_symbol.clone(), do_symbol.clone()));
|
||||
Self::new(
|
||||
Params::new(vec![], vec![], parens),
|
||||
None,
|
||||
TypeBoundSpecs::empty(),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue