Open
Description
When you have @return(nullable)
on an external definition for a function that does not return option
, e.g.,
@return(nullable)
external someFunc: unit => bool = "someFunc"
you get the following rather incomprehensible error message:
%@return directive *_to_opt expect return type to be
syntax wise `_ option` for safety