mirror of https://github.com/tbklang/tlang.git
Tristan B. Velloza Kildaire
b5e8ba0b31
- When handling `BinaryOperatorExpression` call `attemptPointerAriehmeticCoercion(Value, Value)` with both `(vLhsInstr, vRhsInstr)` before we call `vLhsInstr.getInstrType()` and `vRhsInstr.getInstrType()` before `isSameType(vLhsType, vRhsType)`. By doing so we attempt to coerce the types of both instructions if one is a pointer and another is an integer, else do nothing |
||
---|---|---|
.. | ||
commandline | ||
compiler | ||
misc | ||
testing | ||
app.d |