I have reproduced the behavior and yes, the file FitFun.fit edited and (temporarily) saved is being deleted if the fit function Builder has to be quit for some reason without saving. Saving, however, seems only possible if the fit function compiles successfully.
So then, when working on a lengthy implementation, one needs to save the work externally. I don't find this particularly satisfying... |