Skip to content

Commit

Permalink
ASR.asdl: Unify ImplicitCast and ExplicitCast into Cast
Browse files Browse the repository at this point in the history
  • Loading branch information
namannimmo10 committed Apr 12, 2022
1 parent 307a5e0 commit 94516b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions grammar/ASR.asdl
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,7 @@ expr
| Var(symbol v)
| ArrayRef(symbol v, array_index* args, ttype type, expr? value)
| DerivedRef(expr v, symbol m, ttype type, expr? value)
| ImplicitCast(expr arg, cast_kind kind, ttype type, expr? value)
| ExplicitCast(expr arg, cast_kind kind, ttype type, expr? value)
| Cast(expr arg, cast_kind kind, ttype type, expr? value)

-- `len` in Character:
-- >=0 ... the length of the string, known at compile time
Expand Down

0 comments on commit 94516b9

Please sign in to comment.