Skip to content

Conversation

@nicolasstucki
Copy link
Contributor

  • Rename Type.apply to Type.of to have the same names as in TypeRepr and TypeTree
def f[T: Type](using QuoteContext) = {
  val quotedType = Type.of[T]
  val typeRepr = TypeRepr.of[T]
  val typeTree = TypeTree.of[T]
  ....
}

@nicolasstucki nicolasstucki force-pushed the rename-type-apply-to-type-of branch 4 times, most recently from 7a2fb99 to 2713a7e Compare November 12, 2020 08:29
@nicolasstucki nicolasstucki marked this pull request as ready for review November 12, 2020 08:29
@nicolasstucki nicolasstucki force-pushed the rename-type-apply-to-type-of branch from 36daa85 to 2713a7e Compare November 12, 2020 09:09
Copy link
Contributor

@liufengyun liufengyun left a comment

Choose a reason for hiding this comment

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

LGTM

* Rename `Type.apply` to `Type.of` to have the same names as in `TypeRepr` and `TypeTree`
@nicolasstucki nicolasstucki force-pushed the rename-type-apply-to-type-of branch from 2713a7e to bd19b84 Compare November 12, 2020 09:25
@nicolasstucki nicolasstucki merged commit 1180aba into scala:master Nov 12, 2020
@nicolasstucki nicolasstucki deleted the rename-type-apply-to-type-of branch November 12, 2020 12:22
@Kordyjan Kordyjan added this to the 3.0.0 milestone Aug 2, 2023
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