Skip to content

Conversation

@jcollins-g
Copy link
Contributor

@jcollins-g jcollins-g commented Apr 21, 2023

Fixes #3325.

Also introduces a new test helper for reflective tests that should make it easier to test canonicalization edge cases. There were some shortcuts in the code here that I do not think actually needed to be there given the current implementation -- they may have been parts of older extension method code that missed a cleanup pass.

@jcollins-g jcollins-g requested a review from srawlins April 21, 2023 21:22
Copy link
Member

@srawlins srawlins left a comment

Choose a reason for hiding this comment

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

Very cool, cool test setup

import 'src/test_descriptor_utils.dart' as d;
import 'src/utils.dart';

/// Exception thrown for invalid use of [DartdocTestBase]'s api/
Copy link
Member

Choose a reason for hiding this comment

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

Should that end with a period?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed.

@jcollins-g jcollins-g merged commit f92ae00 into dart-lang:master Apr 24, 2023
@jcollins-g jcollins-g deleted the canonicalization-problem-reset branch April 24, 2023 17:21
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.

canonicalization is sometimes failing to return any results for links to extension methods

2 participants