| Index: pkg/analyzer/lib/src/summary/link.dart
|
| diff --git a/pkg/analyzer/lib/src/summary/link.dart b/pkg/analyzer/lib/src/summary/link.dart
|
| index 6c1b64aa2b02825a5ec02024636217a4774a8594..eb440e0274f71517d0a561cd6630742a4ab3ae15 100644
|
| --- a/pkg/analyzer/lib/src/summary/link.dart
|
| +++ b/pkg/analyzer/lib/src/summary/link.dart
|
| @@ -247,7 +247,7 @@ EntityRefBuilder _createLinkedType(
|
| }
|
|
|
| DartType _dynamicIfNull(DartType type) {
|
| - if (type == null || type.isBottom || type.isDartCoreNull || type.isVoid) {
|
| + if (type == null || type.isBottom || type.isDartCoreNull) {
|
| return DynamicTypeImpl.instance;
|
| }
|
| return type;
|
|
|