mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 02:39:20 +00:00
feat: add RMul, RDiv
* `And` has the default type index * impl `Dimension` traits
This commit is contained in:
parent
4651a383ae
commit
ff53af0cb6
17 changed files with 323 additions and 118 deletions
|
@ -1490,7 +1490,7 @@ impl<A: ASTBuildable> GenericASTLowerer<A> {
|
|||
}
|
||||
_ => {}
|
||||
},
|
||||
Type::And(tys) => {
|
||||
Type::And(tys, _) => {
|
||||
for ty in tys {
|
||||
self.push_guard(nth, kind, ty);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue