We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39fad72 commit 51f6fd3Copy full SHA for 51f6fd3
lib/src/model.dart
@@ -2765,7 +2765,8 @@ abstract class ModelElement extends Canonicalization
2765
assert(library != null ||
2766
e is ParameterElement ||
2767
e is TypeParameterElement ||
2768
- e is GenericFunctionTypeElementImpl);
+ e is GenericFunctionTypeElementImpl ||
2769
+ e.kind == ElementKind.DYNAMIC);
2770
// With AnalysisDriver, we sometimes get ElementHandles when building
2771
// docs for the SDK, seen via [Library.importedExportedLibraries]. Why?
2772
if (e is ElementHandle) {
0 commit comments