Index: tests/compiler/dart2js/serialization/equivalence_test.dart |
diff --git a/tests/compiler/dart2js/serialization/equivalence_test.dart b/tests/compiler/dart2js/serialization/equivalence_test.dart |
index 80ebbdadffa12d0ef0fbdab2fbeacbd1196d61d8..67c187b99d50f3bf6dc50adc474fd31dd584b004 100644 |
--- a/tests/compiler/dart2js/serialization/equivalence_test.dart |
+++ b/tests/compiler/dart2js/serialization/equivalence_test.dart |
@@ -36,6 +36,8 @@ get asyncGetter async {} |
get asyncStarGetter async* {} |
get syncStarGetter sync* {} |
+genericMethod<T>() {} |
+ |
''', |
'a.dart': ''' |
''', |
@@ -73,7 +75,7 @@ main(List<String> arguments) { |
CompilationResult result = await runCompiler( |
memorySourceFiles: sourceFiles, |
entryPoint: entryPoint, |
- options: [Flags.analyzeAll]); |
+ options: [Flags.analyzeAll, Flags.genericMethodSyntax]); |
Compiler compiler = result.compiler; |
testSerialization( |
compiler.libraryLoader.libraries, |
@@ -647,6 +649,8 @@ class ElementPropertyEquivalence extends BaseElementVisitor<dynamic, Element> { |
element1, element2, 'functionSignature.orderedOptionalParameters', |
element1.functionSignature.orderedOptionalParameters, |
element2.functionSignature.orderedOptionalParameters); |
+ checkTypeLists(element1, element2, 'typeVariables', |
+ element1.typeVariables, element2.typeVariables); |
} |
@override |