Skip to content

Conversation

@nicolasstucki
Copy link
Contributor

No description provided.

@nicolasstucki nicolasstucki self-assigned this Jan 15, 2020
@nicolasstucki nicolasstucki force-pushed the fix-#7142 branch 9 times, most recently from e556af7 to 63abf80 Compare January 16, 2020 10:47
anatoliykmetyuk added a commit to dotty-staging/sourcecode that referenced this pull request Jan 17, 2020
In Scala 3, macro `mcr()` is expanded to:

  val macro$n = ...
  macro$n

Where n is an ordinal. This commit accounts for this change.
See scala/scala3#8000.
@anatoliykmetyuk

This comment has been minimized.

@nicolasstucki nicolasstucki force-pushed the fix-#7142 branch 2 times, most recently from b959904 to f1179cc Compare January 20, 2020 13:05
nicolasstucki pushed a commit to dotty-staging/sourcecode that referenced this pull request Jan 20, 2020
In Scala 3, macro `mcr()` is expanded to:

  val macro$n = ...
  macro$n

Where n is an ordinal. This commit accounts for this change.
See scala/scala3#8000.
@nicolasstucki nicolasstucki marked this pull request as ready for review January 20, 2020 14:12
@nicolasstucki nicolasstucki added this to the 0.22 Tech Preview milestone Jan 20, 2020
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

This will improve debuggability thus meta-programming experience a lot 👍
I think it's much more usable than solutions based on type systems.

@nicolasstucki nicolasstucki merged commit b8d5be5 into scala:master Jan 23, 2020
@nicolasstucki nicolasstucki deleted the fix-#7142 branch January 23, 2020 07:31
anatoliykmetyuk added a commit to dotty-staging/sourcecode that referenced this pull request Apr 7, 2020
In Scala 3, macro `mcr()` is expanded to:

  val macro$n = ...
  macro$n

Where n is an ordinal. This commit accounts for this change.
See scala/scala3#8000.
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