Skip to content

Fix Typo: decls to decl + Upgrad from deprecated API usage #934

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

Closed
wants to merge 1 commit into from
Closed

Fix Typo: decls to decl + Upgrad from deprecated API usage #934

wants to merge 1 commit into from

Conversation

sameei
Copy link

@sameei sameei commented Nov 21, 2017

ru.typeOf[X].decls(???) fails in compile time, because decls method takes nothing as input and return MethodScope. The right method to call is: decl(name: Name): Symbol.

And also I've changed ru.nme.CONSTRUCTOR to ru.termNames.CONSTRUCTOR based on the deprecation-warning on my Scala compiler: 2.11.8

`ru.typeOf[X].decls(???)` fails in compile time, because `decls` method takes nothing as input and return `MethodScipe`. The right method to call is: `decl(name: Name): Symbol`.
@marconilanna
Copy link
Contributor

Superseded by #935 and #946

@SethTisue
Copy link
Member

@reza-samei thanks for your attention to this, and sorry that we were slow about reviewing/merging

@SethTisue SethTisue closed this Dec 5, 2017
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.

3 participants