TP0212
Error: chained comparison not supported
Example
Section titled “Example”From the golden case tests/cases/m2/tp0212_chained.tpn:
def between(a: int, b: int, c: int) -> bool: return a < b < cThe compiler reports:
tp0212_chained.tpn:2:18: error TP0212: chained comparison not supported help: write 'a < b and b < c'The specification lists every code.
© 2026 Discover Edge, LLC · Taipan is released under the MIT License.