phpsa icon indicating copy to clipboard operation
phpsa copied to clipboard

[Compiler] Check operator supported types

Open ddmler opened this issue 9 years ago • 0 comments

We need to check all Expression Compilers for supported types and add those that are missing. In PR #208 I have done that for: BinaryOp, Casts, Operators\Logical, Operators\Comparison (those that support all types)

So we still need to check:

  • [ ] Expression directory
  • [ ] AssignOp
  • [ ] Operators directory
  • [ ] Operators\Arithmetical
  • [ ] Operators\Bitwise

Basically what you have to check is: Is it possible to use {type} {operator} {type} (example: object * resource)? if yes add those types. if you get any error message (notice too) they are considered not supported. (we add those later then)

ddmler avatar Oct 10 '16 10:10 ddmler