Files
sdk/pkg/language_versioning_2.7_test/test/lib_ex2.8_test.dart
T
Lasse Reichstein Holst Nielsen 8c70a6004d Add tests for inconsistent language markers in part files.
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>
2020-07-24 12:58:35 +00:00

23 lines
804 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.8
part "src/part_of_ex2.8_v_ex2.8.dart";
part "src/part_of_ex2.8_v_ex2.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.8_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).
void main() {
print(x28x28);
}