| Index: sdk/lib/_internal/compiler/implementation/warnings.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/warnings.dart b/sdk/lib/_internal/compiler/implementation/warnings.dart
|
| index 554a3bc81ec599759633fe2df8b40b75686cdb51..eefe4f64132a0a4d3f8de82cdcd28ca92f692871 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/warnings.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/warnings.dart
|
| @@ -254,7 +254,21 @@ class Future {}""",
|
| """
|
| library export;
|
|
|
| -export 'future.dart';"""}]);
|
| +export 'future.dart';"""},
|
| +
|
| + const {
|
| +'main.dart':
|
| +"""
|
| +import 'future.dart' as prefix;
|
| +import 'dart:async' as prefix; // This imports a class Future.
|
| +
|
| +void main() => new prefix.Future();""",
|
| +
|
| +'future.dart':
|
| +"""
|
| +library future;
|
| +
|
| +class Future {}"""}]);
|
|
|
|
|
| static const MessageKind HIDDEN_IMPLICIT_IMPORT = const MessageKind(
|
|
|