Index: tests/compiler/dart2js/type_combination_test.dart |
diff --git a/tests/compiler/dart2js/type_combination_test.dart b/tests/compiler/dart2js/type_combination_test.dart |
index 156bbcdbe4c6b491616bda0cb4999b4756837e1c..a900290b073cc258944f144c630b601e145ee2ba 100644 |
--- a/tests/compiler/dart2js/type_combination_test.dart |
+++ b/tests/compiler/dart2js/type_combination_test.dart |
@@ -2025,7 +2025,7 @@ void testIntersection(MockCompiler compiler) { |
} |
void testRegressions(MockCompiler compiler) { |
- HType nonNullPotentialString = new HBoundedPotentialPrimitiveString( |
+ HType nonNullPotentialString = new HBoundedType( |
new TypeMask.nonNullSubtype(compiler.stringClass.computeType(compiler))); |
Expect.equals( |
potentialString, STRING_OR_NULL.union(nonNullPotentialString, compiler)); |
@@ -2046,7 +2046,7 @@ void main() { |
compiler.functionClass.computeType(compiler), compiler); |
potentialArray = new HBoundedType( |
new TypeMask.subtype(compiler.listClass.computeType(compiler))); |
- potentialString = new HBoundedPotentialPrimitiveString( |
+ potentialString = new HBoundedType( |
new TypeMask.subtype(compiler.stringClass.computeType(compiler))); |
jsArrayOrNull = new HType.fromMask( |
new TypeMask.exact(compiler.backend.jsArrayClass.computeType(compiler)), |