ReScript @rescript-lang.org · Nov 18

We shipped a %todo extension point in v11.1. It makes it easy to postpone implementing something but not have the compiler block you continuing working. It'll produce a warning by default, and it's easy to configure the compiler so that it emits a hard error in for example CI.

16 likes 1 replies

?

Replies

ReScript · Nov 18

If this code is executed it'll throw a JavaScript error, including the todo-message as well as the ReScript file + location where the todo is located.