-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
help wantedIndicates that a maintainer wants help on an issue or pull requestIndicates that a maintainer wants help on an issue or pull request
Description
While we can deprecate functions, our current mechanism to deprecate types is to define the equivalent of
export Range1
const Range1 = UnitRangeThis does not trigger any deprecation warning for using the type itself. #11046 was therefore more disruptive than one might have ideally wished (see JuliaGraphics/Tk.jl#98 and cascading breakages in any package that depends on it, plus at least timholy/ProfileView.jl#32), in that it caused actual package breakages. If we'd had a deprecation system in place, the appropriate changes could have been made any time in the past year.
I presume this is something that needs to be handled at the parser level?
(Off-topic: should we have a "wishlist" label as distinct from bug reports?)
Metadata
Metadata
Assignees
Labels
help wantedIndicates that a maintainer wants help on an issue or pull requestIndicates that a maintainer wants help on an issue or pull request