PlutoLang / Pluto

A superset of Lua 5.4 with a focus on general-purpose programming.
https://pluto-lang.org/docs/Introduction
MIT License
337 stars 20 forks source link

Error message regression with 'if then' #884

Closed Sainan closed 2 weeks ago

Sainan commented 3 weeks ago
if then
    print("hello")
end

Lua here says "unexpected symbol near 'then'" on line 1, but Pluto is a bit less useful, saying "'then' expected" on line 2.