8c70a6004d
Change-Id: Ife3f8145d146b3f406c1fdcaf77d91efda7e79d1 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/154462 Reviewed-by: Johnni Winther <johnniwinther@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
27 lines
959 B
Dart
27 lines
959 B
Dart
// Copyright (c) 2020, 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.
|
|
|
|
// Explicit version.
|
|
// @dart=2.7
|
|
|
|
part "src/part_of_ex2.7_v_ex2.7.dart";
|
|
|
|
// Specification requires the part file to have
|
|
// the same explicit langauge version marker
|
|
// as the including library,
|
|
// not just the same languge version.
|
|
part "src/part_of_ex2.7_v_im2.7.dart";
|
|
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
// [analyzer] COMPILE_TIME_ERROR.INCONSISTENT_LANGUAGE_VERSION_OVERRIDE
|
|
// [cfe] The language version override has to be the same in the library and its part(s).
|
|
|
|
part "src/part_of_ex2.7_v_ex2.8.dart";
|
|
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
// [analyzer] COMPILE_TIME_ERROR.INCONSISTENT_LANGUAGE_VERSION_OVERRIDE
|
|
// [cfe] The language version override has to be the same in the library and its part(s).
|
|
|
|
main() {
|
|
print(x27x27);
|
|
}
|