| Index: pkg/analyzer/test/generated/non_error_resolver_test.dart
|
| diff --git a/pkg/analyzer/test/generated/non_error_resolver_test.dart b/pkg/analyzer/test/generated/non_error_resolver_test.dart
|
| index 6792467bfac3366dff32ba0a2a84eb16f6582ab0..9ce75c696bb6b69d435bd499ab75ecbe000ed602 100644
|
| --- a/pkg/analyzer/test/generated/non_error_resolver_test.dart
|
| +++ b/pkg/analyzer/test/generated/non_error_resolver_test.dart
|
| @@ -4,8 +4,8 @@
|
|
|
| library analyzer.test.generated.non_error_resolver_test;
|
|
|
| +import 'package:analyzer/dart/ast/ast.dart';
|
| import 'package:analyzer/dart/element/element.dart';
|
| -import 'package:analyzer/src/generated/ast.dart';
|
| import 'package:analyzer/src/generated/engine.dart';
|
| import 'package:analyzer/src/generated/error.dart';
|
| import 'package:analyzer/src/generated/parser.dart' show ParserErrorCode;
|
| @@ -35,24 +35,6 @@ E e() {
|
| verify([source]);
|
| }
|
|
|
| - void test_class_type_alias_documentationComment() {
|
| - Source source = addSource('''
|
| -/**
|
| - * Documentation
|
| - */
|
| -class C = D with E;
|
| -
|
| -class D {}
|
| -class E {}''');
|
| - computeLibrarySourceErrors(source);
|
| - computeLibrarySourceErrors(source);
|
| - assertNoErrors(source);
|
| - verify([source]);
|
| - CompilationUnit unit = _getResolvedLibraryUnit(source);
|
| - ClassElement classC = unit.element.getType('C');
|
| - expect(classC.documentationComment, isNotNull);
|
| - }
|
| -
|
| void test_ambiguousExport() {
|
| Source source = addSource(r'''
|
| library L;
|
| @@ -932,6 +914,24 @@ f(String s) {
|
| verify([source]);
|
| }
|
|
|
| + void test_class_type_alias_documentationComment() {
|
| + Source source = addSource('''
|
| +/**
|
| + * Documentation
|
| + */
|
| +class C = D with E;
|
| +
|
| +class D {}
|
| +class E {}''');
|
| + computeLibrarySourceErrors(source);
|
| + computeLibrarySourceErrors(source);
|
| + assertNoErrors(source);
|
| + verify([source]);
|
| + CompilationUnit unit = _getResolvedLibraryUnit(source);
|
| + ClassElement classC = unit.element.getType('C');
|
| + expect(classC.documentationComment, isNotNull);
|
| + }
|
| +
|
| void test_commentReference_beforeConstructor() {
|
| String code = r'''
|
| abstract class A {
|
|
|