Chromium Code Reviews| Index: tests/language/new_prefix_test.dart |
| =================================================================== |
| --- tests/language/new_prefix_test.dart (revision 0) |
| +++ tests/language/new_prefix_test.dart (revision 0) |
| @@ -0,0 +1,9 @@ |
| +// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| +// for details. All rights reserved. Use of this source code is governed by a |
| +// BSD-style license that can be found in the LICENSE file. |
| + |
| +import 'dart:core' as prefix; |
| + |
| +main() { |
| + return new prefix(); /// 01: compile-time error |
|
ahe
2013/08/27 18:51:42
This test is not correct, see: https://www.dartlan
ngeoffray
2013/08/28 06:24:30
Good catch. Luckily, the dart analyzer caught that
|
| +} |