Skip to content

Commit 9d7e35b

Browse files
bwilkersoncommit-bot@chromium.org
authored andcommitted
Unmake some breaking changes made in previous CLs
Change-Id: I4c28418f8e5a3c9af7b37f44d7ebd3cd2d818c16 Reviewed-on: https://dart-review.googlesource.com/52160 Reviewed-by: Konstantin Shcheglov <[email protected]> Commit-Queue: Brian Wilkerson <[email protected]>
1 parent 313b5bd commit 9d7e35b

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
5+
@deprecated
6+
library context.context_root;
7+
8+
export 'package:analyzer/src/context/context_root.dart';

pkg/analyzer/lib/source/line_info.dart

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,13 @@ class LineInfo {
6262

6363
/**
6464
* Return the location information for the character at the given [offset].
65+
*
66+
* A future version of this API will return a [CharacterLocation] rather than
67+
// ignore: deprecated_member_use
68+
* a [LineInfo_Location].
6569
*/
66-
CharacterLocation getLocation(int offset) {
70+
// ignore: deprecated_member_use
71+
LineInfo_Location getLocation(int offset) {
6772
var min = 0;
6873
var max = lineStarts.length - 1;
6974

pkg/analyzer/lib/task/model.dart

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
5+
@deprecated
6+
library task.model;
7+
8+
export 'package:analyzer/src/task/api/model.dart';

0 commit comments

Comments
 (0)