-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unhandled exception: type 'FunctionTypeImpl' is not a subtype of type 'InterfaceType' #2101
Comments
Here's the contents of library expose;
export 'package:plexus/src/expose/list.dart';
export 'package:plexus/src/expose/maps.dart';
|
So it seems the issue is that |
The warning on library expose is a red herring; the exception is in some later processing loop. It looks like a mismatch of expectations between dartdoc and the analyzer for some reason, though I'm having difficulty reproducing this at head. Still investigating. |
Crash reproduced; the crash only occurs with the |
code snippet below (inspired by the dartx package) will reproduce:
|
root cause identified. Dartdoc does not understand much about extensions on function types (filed as #2107) and an edge case we did not test has broken us. Until this issue is fixed, any package that includes an extension on a function type in its transitive dependencies will crash if being documented with --link-to-remote, or will crash if it itself uses them. |
The following exception happened while running
dartdoc 0.29.1
onplexus 4.0.0+5
onpub.dev
:dartdoc
can't run successfully on pub pub-dev#3196The text was updated successfully, but these errors were encountered: