mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 10:49:54 +00:00
feat: glob import (WIP)
This commit is contained in:
parent
b5d68e5f1c
commit
06ec103b2e
12 changed files with 116 additions and 12 deletions
|
@ -82,7 +82,7 @@ impl Context {
|
|||
let muty = Mutability::from(&sig.inspect().unwrap_or(UBAR)[..]);
|
||||
let ident = match &sig.pat {
|
||||
ast::VarPattern::Ident(ident) => ident,
|
||||
ast::VarPattern::Discard(_) => {
|
||||
ast::VarPattern::Discard(_) | ast::VarPattern::Glob(_) => {
|
||||
return Ok(());
|
||||
}
|
||||
other => unreachable!("{other}"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue