data-frame icon indicating copy to clipboard operation
data-frame copied to clipboard

Recent changes break the sawzall package

Open samth opened this issue 3 years ago • 2 comments

The recent commit 638313fe020ab5cfda5b464f86fdf570543bf74f, which removed various deprecated functions, broke the sawzall package and things that depend on it (see http://web.archive.org/web/20230411153024/https://pkg-build.racket-lang.org/server/built/fail/graphite.txt).

I can get that package fixed, but it might have broken other things as well.

samth avatar Apr 11 '23 15:04 samth

Thanks for letting me know about this, I reverted the changes that removed these deprecated functions.

Is there a way to mark a function as deprecated, such that a warning is displayed to the user when they call the function?

alex-hhh avatar Apr 11 '23 22:04 alex-hhh

There is not a built-in way of doing that. You could do something like call log-warning when the function is called, but that is not usually seen.

samth avatar Apr 12 '23 18:04 samth