dibyendumajumdar / ravi

Ravi is a dialect of Lua, featuring limited optional static typing, JIT and AOT compilers
http://ravilang.github.io/
Other
1.16k stars 60 forks source link

RAVI_DEFER_STATEMENT option #224

Open snoopcatt opened 3 years ago

snoopcatt commented 3 years ago

Hello! I'm wondering why do we still need possibility to disable RAVI_DEFER_STATEMENT compile-time?

It works pretty good, as well as it also enabled by default. Yes, it is non-standard Lua construction, but we've already lost backward compatibility due to typing system.

I think maintaining this possibility costs alot of extra headache and codebase. Maybe we should consider to deprecate thus possibility and remove it in next major release?

dibyendumajumdar commented 3 years ago

I don't have enough tests yet to feel totally confident of this feature.

snoopcatt commented 3 years ago

I don't have enough tests yet to feel totally confident of this feature.

Why is it enabled by default then?