
11 Jun
2013
11 Jun
'13
6:23 p.m.
* Johan Tibell
On Tue, Jun 11, 2013 at 3:00 PM, Roman Cheplyaka
wrote: Does such thing as a deprecation pragma for an instance exist? What triggers it?
I don't know. We'll need one if we're going to deprecating core instances. Just deleting them is not an option (as it gives users with large code bases no time to migrate).
On a second thought, it does seem feasible. The warning would be triggered at the point where the (implicit) class dictionary is used to invoke a polymorphic function. This, however, requires input from the type checker. All previous deprecations have been only name-based, IINM. Roman