Skip to content

Unhandled exceptions with --link-to-remote (type 'DynamicTypeImpl' is not a subtype of type 'InterfaceType') #2113

@isoos

Description

@isoos

Similar to #2101, I've found another exception that is triggered when running dartdoc with --link-to-remote:

https://pub.dev/packages/aws_sns_api

On pub.dev:
https://pub.dev/documentation/aws_sns_api/latest/log.txt

type 'DynamicTypeImpl' is not a subtype of type 'InterfaceType'
#0      TypeParameterElementType.interfaceType (package:dartdoc/src/element_type.dart:261:38)
#1      DefinedElementType.instantiatedType (package:dartdoc/src/element_type.dart:331:12)
#2      Extension._couldApplyTo (package:dartdoc/src/model.dart:1350:47)
#3      Extension.couldApplyTo (package:dartdoc/src/model.dart:1346:33)
#4      Class.potentiallyApplicableExtensions.<anonymous closure> (package:dartdoc/src/model.dart:805:27)

The fix to #2101 may have been fixed this one too, please double-check...

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0A serious issue requiring immediate resolution

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions