fc83ce5ba9
If 'p' is an import prefix, then 'p = ...' is treated as synonymous with 'this.p = ...', and 'p()' is treated as synonymous with 'this.p()'. In all other circumstances where 'p' is not followed by '.', the spec calls for a compile time error. Previous to this CL, 'p' not followed by '.' was being treated as synonymous with 'this.p' under all circumstances. This CL brings analyzer in line with the spec, and updates the tests in tests/language accordingly. The VM and Dart2js currently fail to implement the compile-time error properly. See issues #23611 and #23612. Fixes issue #23461. R=scheglov@google.com Review URL: https://codereview.chromium.org//1173523002.
6 lines
240 B
Dart
6 lines
240 B
Dart
// Copyright (c) 2015, 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.
|
|
|
|
library empty_library;
|