Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(724)

Side by Side Diff: pkg/analyzer/lib/src/generated/element_handle.dart

Issue 1609093003: fixes #25482, flatten Futures in strong mode so Future.then works (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library analyzer.src.generated.element_handle; 5 library analyzer.src.generated.element_handle;
6 6
7 import 'package:analyzer/dart/element/element.dart'; 7 import 'package:analyzer/dart/element/element.dart';
8 import 'package:analyzer/dart/element/type.dart'; 8 import 'package:analyzer/dart/element/type.dart';
9 import 'package:analyzer/src/dart/element/element.dart'; 9 import 'package:analyzer/src/dart/element/element.dart';
10 import 'package:analyzer/dart/ast/ast.dart'; 10 import 'package:analyzer/dart/ast/ast.dart';
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 @override 747 @override
748 List<LibraryElement> get importedLibraries => actualElement.importedLibraries; 748 List<LibraryElement> get importedLibraries => actualElement.importedLibraries;
749 749
750 @override 750 @override
751 List<ImportElement> get imports => actualElement.imports; 751 List<ImportElement> get imports => actualElement.imports;
752 752
753 @override 753 @override
754 bool get isBrowserApplication => actualElement.isBrowserApplication; 754 bool get isBrowserApplication => actualElement.isBrowserApplication;
755 755
756 @override 756 @override
757 bool get isDartAsync => actualElement.isDartAsync;
758
759 @override
757 bool get isDartCore => actualElement.isDartCore; 760 bool get isDartCore => actualElement.isDartCore;
758 761
759 @override 762 @override
760 bool get isInSdk => actualElement.isInSdk; 763 bool get isInSdk => actualElement.isInSdk;
761 764
762 @override 765 @override
763 ElementKind get kind => ElementKind.LIBRARY; 766 ElementKind get kind => ElementKind.LIBRARY;
764 767
765 @override 768 @override
766 FunctionElement get loadLibraryFunction => actualElement.loadLibraryFunction; 769 FunctionElement get loadLibraryFunction => actualElement.loadLibraryFunction;
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
1090 } 1093 }
1091 1094
1092 /** 1095 /**
1093 * TODO(scheglov) invalid implementation 1096 * TODO(scheglov) invalid implementation
1094 */ 1097 */
1095 class WeakReference<T> { 1098 class WeakReference<T> {
1096 final T value; 1099 final T value;
1097 WeakReference(this.value); 1100 WeakReference(this.value);
1098 T get() => value; 1101 T get() => value;
1099 } 1102 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698