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

Improve error message for CyclicReference in macros #16749

Merged
merged 1 commit into from
Feb 16, 2023

Conversation

nicolasstucki
Copy link
Contributor

Closes #16582

| Exception occurred while executing macro expansion.
| dotty.tools.dotc.core.CyclicReference: Recursive value o2 needs type
|
| See full stack trace using -Ydebug
Copy link
Member

Choose a reason for hiding this comment

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

-Y is supposed to be for internal compiler flags. Ideally we would use -X -or -V which is meant for things that just increase verbosity I think)

@smarter smarter added this pull request to the merge queue Feb 15, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Feb 16, 2023
@nicolasstucki nicolasstucki merged commit 221bae8 into scala:main Feb 16, 2023
@nicolasstucki nicolasstucki deleted the fix-16582 branch February 16, 2023 09:35
@Kordyjan Kordyjan added this to the 3.3.1 milestone Aug 1, 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.

CyclicReference exception during macro expansion with transparent inline
3 participants