Skip to content

Conversation

@eed3si9n
Copy link
Member

@eed3si9n eed3si9n commented May 5, 2025

Ref #7772

Problem

Nested macro that expands to map or mapN fails to find the qual because the trees end up being different between the record scan and actual replacement.

This is one of the problems that can be reproduced via #7772 although it's not the primary issue.

Solution

First try for equals normally, then compare the show strings.

**Problem**
Nested macro that expands to map or mapN fails to
find the qual because the trees end up being different
between the record scan and actual replacement.

**Solution**
First try for equals normally, then compare the show strings.
@eed3si9n eed3si9n merged commit ff7dd1b into sbt:develop May 5, 2025
12 checks passed
@eed3si9n eed3si9n deleted the wip/repro-nested-macro2 branch May 5, 2025 07:29
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.

1 participant