Closed TwitchBronBron closed 10 months ago
In scope validate’s ast walk, visit binaryOperator expressions, and if LHS and RHS are not dynamic type, and the util function that finds binary operator results return dynamic type, then raise a new diagnostic… Something like “Operator $operator can not be used with types $lhs and $rhs”
With the new type validations in v0.66.0, this should be a compile error because you can't add a string and an int.