mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:19:48 +00:00
Move license to the top.
R=lrn@google.com Review URL: https://codereview.chromium.org/1636443002 .
This commit is contained in:
parent
091d807d71
commit
bbde44f7cc
|
@ -1,3 +1,6 @@
|
|||
// 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.
|
||||
/*
|
||||
DON'T EDIT. GENERATED. DON'T EDIT.
|
||||
This file has been generated by 'publish.dart' in the dart_messages package.
|
||||
|
@ -6,9 +9,6 @@ Messages are maintained in `lib/shared_messages.dart` of that same package.
|
|||
After any change to that file, run `bin/publish.dart` to generate a new version
|
||||
of the json, dart2js and analyzer representations.
|
||||
*/
|
||||
// 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.
|
||||
import 'package:analyzer/src/generated/error.dart';
|
||||
|
||||
const AnalysisOptionsErrorCode exampleMessage = const AnalysisOptionsErrorCode(
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
// 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.
|
||||
/*
|
||||
DON'T EDIT. GENERATED. DON'T EDIT.
|
||||
This file has been generated by 'publish.dart' in the dart_messages package.
|
||||
|
@ -6,9 +9,6 @@ Messages are maintained in `lib/shared_messages.dart` of that same package.
|
|||
After any change to that file, run `bin/publish.dart` to generate a new version
|
||||
of the json, dart2js and analyzer representations.
|
||||
*/
|
||||
// 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.
|
||||
import '../messages.dart' show MessageTemplate;
|
||||
|
||||
enum SharedMessageKind {
|
||||
|
|
|
@ -90,8 +90,8 @@ void emitDart2js() {
|
|||
var enumIds = input.keys.toList();
|
||||
|
||||
StringBuffer out = new StringBuffer();
|
||||
out.writeln(dontEditWarning);
|
||||
out.writeln(copyrightHeader);
|
||||
out.writeln(dontEditWarning);
|
||||
out.writeln("import '../messages.dart' show MessageTemplate;");
|
||||
out.writeln();
|
||||
out.write(("enum SharedMessageKind {\n "));
|
||||
|
@ -188,8 +188,8 @@ void emitAnalyzer() {
|
|||
print(" Output: $outPath");
|
||||
|
||||
StringBuffer out = new StringBuffer();
|
||||
out.writeln(dontEditWarning);
|
||||
out.writeln(copyrightHeader);
|
||||
out.writeln(dontEditWarning);
|
||||
out.writeln("import 'package:analyzer/src/generated/error.dart';");
|
||||
out.writeln();
|
||||
input.forEach((name, message) {
|
||||
|
|
Loading…
Reference in a new issue