mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-30 04:44:44 +00:00
Fix match
codegen
This commit is contained in:
parent
d63b018371
commit
771be313a9
7 changed files with 173 additions and 80 deletions
|
@ -2241,6 +2241,8 @@ impl From<&Identifier> for Field {
|
|||
}
|
||||
|
||||
impl Identifier {
|
||||
pub const UBAR: &Self = &Self::new(None, VarName::from_static("_"));
|
||||
|
||||
pub const fn new(dot: Option<Token>, name: VarName) -> Self {
|
||||
Self { dot, name }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue