Skip to content

Unhandled exception: type 'FunctionTypeImpl' is not a subtype of type 'InterfaceType' #2101

Closed
@isoos

Description

@isoos

The following exception happened while running dartdoc 0.29.1 on plexus 4.0.0+5 on pub.dev:

documenting plexus
Generating docs for library expose from package:plexus/expose.dart...

STDERR:
Documenting plexus...
  warning: expose has no library level documentation comments, from expose: (file:///tmp/pub-dartlang-dartdocGFHAYO/pkg/lib/expose.dart:1:9)
Unhandled exception:
type 'FunctionTypeImpl' is not a subtype of type 'InterfaceType'
#0      DefinedElementType.interfaceType (package:dartdoc/src/element_type.dart:324: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)
#5      WhereIterator.moveNext (dart:_internal/iterable.dart:440:11)

Metadata

Metadata

Assignees

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