Skip to content

TP0003

Error: unterminated string

From the golden case tests/cases/m1/tp0003_unterminated.tpn:

tp0003_unterminated.tpn
let s = "abc
let t = f"x{s}

The compiler reports:

tp0003_unterminated.tpn:1:9: error TP0003: unterminated string
tp0003_unterminated.tpn:2:10: error TP0003: unterminated string

The specification lists every code.