Operator overloading for Concat and Bytes
PabloLION opened this issue · 2 comments
PabloLION commented
Problem
Bytes('a') + Bytes('b')
will report type check error because of this: https://github.com/algorand/pyteal/blob/master/pyteal/ast/expr.py#L72-L73
Lines 72 to 73 in 1a1c93f
Solution
Bytes('a') + Bytes('b')
returns Concat(Bytes('a'),Bytes('b'))
, or Bytes('ab')
Dependencies
Urgency
Ergonomic feature, not urgent.
PabloLION commented
Sorry @barnjamin