X Tutup
Skip to content

Hook into platform deprecation mechanism #179

@marschall

Description

@marschall

At least Pharo and VASt now offer their custom deprecation mechanisms. It would be great if we could hook into this. Ideally this would allows to take advantage of platform integration features like:

  • Our deprecated methods showing up as deprecated in the IDE.
  • Automatic rewriting of senders.

Unfortunately at least the Pharo implementation does not seem very extensible.

CompiledMethod >> isDeprecated

	^ self sendsAnySelectorOf: #(
			#deprecated:
			#deprecated:transformWith:
			#deprecated:transformWith:when:
			#deprecated:on:in:
			#deprecated:on:in:transformWith:
			#deprecated:on:in:transformWith:when:)

VASt seems to use #deprecated: and #deprecated:in:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup