8000 Fix deprecation warnings by Philippus · Pull Request #214 · scala/scala-async · GitHub
[go: up one dir, main page]

Skip to content

Fix deprecation warnings #214

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

Merged
merged 17 commits into from
Feb 22, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix deprecation warning newTypeName -> TypeName
  • Loading branch information
Philippus committed Feb 16, 2019
commit 789efdb4381dacbfb9a2063eacb111f67a29fcbd
2 changes: 1 addition & 1 deletion src/main/scala/scala/async/internal/AsyncNames.scala
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ final class AsyncNames[U <: Names with Singleton](val u: U) {
override protected def newName(s: String): U#TermName = TermName(s)
}
final class TypeNameCache(base: String) extends NameCache[U#TypeName](base) {
override protected def newName(s: String): U#TypeName = newTypeName(s)
override protected def newName(s: String): U#TypeName = TypeName(s)
}
private val matchRes: TermNameCache = new TermNameCache("match")
private val ifRes: TermNameCache = new TermNameCache("if")
Expand Down
0