Index: pkg/analyzer/lib/src/generated/type_system.dart |
diff --git a/pkg/analyzer/lib/src/generated/type_system.dart b/pkg/analyzer/lib/src/generated/type_system.dart |
index c32e5c52b17a6949931542e34b0127b5702b816d..9a4a5cf8264fcefb081bae954087bafe0cc52acc 100644 |
--- a/pkg/analyzer/lib/src/generated/type_system.dart |
+++ b/pkg/analyzer/lib/src/generated/type_system.dart |
@@ -1666,8 +1666,8 @@ class FutureUnionType extends TypeImpl { |
throw new UnsupportedError('Future unions are not used in typedefs'); |
/** |
- * Creates a union of `T | Future<T>`, unless `T` is already a future-union, |
- * in which case it simply returns `T` |
+ * Creates a union of `flatten(T) | Future<flatten(T)>`, unless `T` is |
+ * already a future-union, in which case it simply returns `T` |
*/ |
static DartType from( |
DartType type, TypeProvider provider, TypeSystem system) { |