dartdoc icon indicating copy to clipboard operation
dartdoc copied to clipboard

DeCo. Comment out assert(nameOffset != null ...)

Open scheglov opened this issue 1 month ago • 0 comments

It is not true anymore (starting from https://dart-review.googlesource.com/c/sdk/+/466441) for extension types: the representation field is not present in code, so should not have any name offset. And its getter / setter are also synthetic, and also don't have any name offset.

So, in this PR I comment out the assert, and leave it to you to implement the semantics that you think is right for DartDoc.

scheglov avatar Dec 06 '25 01:12 scheglov