mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-29 12:24:45 +00:00
Add raw identifier
This commit is contained in:
parent
48eb3c5920
commit
03a36f48a3
14 changed files with 137 additions and 26 deletions
|
@ -841,10 +841,6 @@ impl Context {
|
|||
}
|
||||
Ok(())
|
||||
}
|
||||
hir::Expr::Decl(decl) => {
|
||||
decl.t = self.deref_tyvar(mem::take(&mut decl.t), Covariant, decl.loc())?;
|
||||
Ok(())
|
||||
}
|
||||
hir::Expr::Def(def) => {
|
||||
// It is not possible to further dereference the quantified type.
|
||||
// TODO: However, it is possible that there are external type variables within the quantified type.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue