Skip to content

Conversation

@knutwannheden
Copy link
Contributor

By adding this marker we can use the FindParseFailures recipe to produce reports, where we get a corresponding entry for each J.Unknown with that marker, including relevant details.

By adding this marker we can use the `FindParseFailures` recipe to produce reports, where we get a corresponding entry for each `J.Unknown` with that marker, including relevant details.
prefix,
Markers.EMPTY,
new JRightPadded<Expression>(fa.Target, Format(Leading(node.ArgumentList)), Markers.EMPTY),
new JRightPadded<Expression>(fa.Target, fa.Padding.Name.Before, Markers.EMPTY),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops, this slipped in by accident. Let me know if I should revert.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Doesn't matter, it's not correct anyways

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I saw you had changed it to something else in the mean time. That definitely didn't work for me. With this change I could at least get tests like this (which I believe you reported somewhere) working:

void Test()
{
    ""blah"".Skip()
        .ToList();
}

But if you say it isn't correct, I believe you. I will let you take over.

@macsux
Copy link
Collaborator

macsux commented Oct 1, 2024 via email

@knutwannheden
Copy link
Contributor Author

I am sorry I am a bit lost between your comment:

Doesn't matter, it's not correct anyways

and now:

No if you had a fix please revert as I was still wrapping my head around the issue.

I think it is just easiest if you update / revert it to what is best for you.

@knutwannheden knutwannheden merged commit 158f323 into main Oct 1, 2024
@knutwannheden knutwannheden deleted the ParseExceptionResult branch October 1, 2024 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants