Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Prism::Node#deprecated method type #2837

Merged
merged 1 commit into from
May 24, 2024

Conversation

S-H-GAMELINKS
Copy link
Contributor

Add Prism::Node#deprecated method type and supress deprecated method type error.

@@ -33,6 +33,7 @@ module Prism
def fields: () -> Array[Prism::Reflection::Field]
def inspect: () -> String
def type: () -> Symbol
def deprecated: (*String) -> void
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you put this on class Node? _Node is for the stuff that is implemented on each node.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I'll try it!

@S-H-GAMELINKS S-H-GAMELINKS force-pushed the add/node-deprecated-method-type branch from 68abf64 to 400efbb Compare May 24, 2024 14:48
@kddnewton kddnewton merged commit ca62c3f into ruby:main May 24, 2024
55 of 56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants