| Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/type/UnionTypeImpl.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/type/UnionTypeImpl.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/type/UnionTypeImpl.java
|
| index 7a2fef9f84b2ed59974fd252a9ec5d54ea78d074..808873e7514203fc7acb9a63d4371f7a423901df 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/type/UnionTypeImpl.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/type/UnionTypeImpl.java
|
| @@ -17,6 +17,7 @@ package com.google.dart.engine.internal.type;
|
| import com.google.dart.engine.internal.element.ElementPair;
|
| import com.google.dart.engine.type.Type;
|
| import com.google.dart.engine.type.UnionType;
|
| +import com.google.dart.engine.utilities.translation.DartExpressionBody;
|
|
|
| import org.apache.commons.lang3.NotImplementedException;
|
|
|
| @@ -84,6 +85,7 @@ public class UnionTypeImpl extends TypeImpl implements UnionType {
|
| }
|
| }
|
|
|
| + @DartExpressionBody("_types")
|
| @Override
|
| public Set<Type> getElements() {
|
| return Collections.unmodifiableSet(this.types);
|
|
|