We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01c3cbe commit b2297b8Copy full SHA for b2297b8
lib/src/model/model_element.dart
@@ -965,6 +965,9 @@ abstract class ModelElement extends Canonicalization
965
}
966
} else if (element is ClassElement) {
967
_modelType = ElementType.from(element.thisType, library, packageGraph);
968
+ } else if (element is FunctionTypeAliasElement) {
969
+ _modelType =
970
+ ElementType.from(element.function.type, library, packageGraph);
971
} else if (element is FunctionTypedElement) {
972
_modelType = ElementType.from(element.type, library, packageGraph);
973
} else if (element is ParameterElement) {
0 commit comments