[CFE] Correct offsets in some expression tests
Change-Id: If0091e6697ee74c7768c1b3812173112b565c13a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/497640 Commit-Queue: Jens Johansen <jensj@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>
This commit is contained in:
committed by
dart-scoped@luci-project-accounts.iam.gserviceaccount.com
parent
ea27e31456
commit
b40dc30686
@@ -49,7 +49,7 @@ type_bounds: []
|
||||
type_defaults: []
|
||||
method: "foo"
|
||||
static: true
|
||||
offset: 94
|
||||
offset: 108
|
||||
scriptUri: main.dart
|
||||
expression: |
|
||||
list.first._value
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Errors: {
|
||||
}
|
||||
static method /* from org-dartlang-debug:synthetic_debug_expression */ debugExpr(dart.core::_GrowableList<main::A> list) → dynamic
|
||||
return list.{dart.core::_GrowableList::first}{main::A}{dynamic}.lib::_value;
|
||||
static method /* from org-dartlang-debug:synthetic_debug_expression */ debugExpr(dart.core::List<main::A> list) → dynamic
|
||||
return list.{dart.core::Iterable::first}{main::A}{dynamic}.lib::_value;
|
||||
|
||||
@@ -57,7 +57,7 @@ type_bounds: []
|
||||
type_defaults: []
|
||||
method: "foo"
|
||||
static: true
|
||||
offset: 94
|
||||
offset: 129
|
||||
scriptUri: main.dart
|
||||
expression: |
|
||||
list.first._value
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
Errors: {
|
||||
}
|
||||
static method /* from org-dartlang-debug:synthetic_debug_expression */ debugExpr(dart.core::_GrowableList<main::A> list) → dynamic
|
||||
return list.{dart.core::_GrowableList::first}{main::A}{dynamic}._value;
|
||||
static method /* from org-dartlang-debug:synthetic_debug_expression */ debugExpr(dart.core::List<main::A> list) → dynamic
|
||||
return list.{dart.core::Iterable::first}{main::A}{dynamic}._value;
|
||||
|
||||
@@ -49,7 +49,7 @@ type_bounds: []
|
||||
type_defaults: []
|
||||
method: "foo"
|
||||
static: true
|
||||
offset: 94
|
||||
offset: 132
|
||||
scriptUri: main.dart
|
||||
expression: |
|
||||
list.first._value = 41
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Errors: {
|
||||
}
|
||||
static method /* from org-dartlang-debug:synthetic_debug_expression */ debugExpr(dart.core::_GrowableList<main::A> list) → dynamic
|
||||
return list.{dart.core::_GrowableList::first}{main::A}.{dynamic}lib::_value = 41;
|
||||
static method /* from org-dartlang-debug:synthetic_debug_expression */ debugExpr(dart.core::List<main::A> list) → dynamic
|
||||
return list.{dart.core::Iterable::first}{main::A}.{dynamic}lib::_value = 41;
|
||||
|
||||
@@ -46,7 +46,7 @@ type_bounds: []
|
||||
type_defaults: []
|
||||
method: "foo"
|
||||
static: true
|
||||
offset: 94
|
||||
offset: 108
|
||||
scriptUri: main.dart
|
||||
expression: |
|
||||
list.first.hello()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Errors: {
|
||||
}
|
||||
static method /* from org-dartlang-debug:synthetic_debug_expression */ debugExpr(dart.core::_GrowableList<main::A> list) → dynamic
|
||||
return list.{dart.core::_GrowableList::first}{main::A}{dynamic}.hello();
|
||||
static method /* from org-dartlang-debug:synthetic_debug_expression */ debugExpr(dart.core::List<main::A> list) → dynamic
|
||||
return list.{dart.core::Iterable::first}{main::A}{dynamic}.hello();
|
||||
|
||||
@@ -46,7 +46,7 @@ type_bounds: []
|
||||
type_defaults: []
|
||||
method: "foo"
|
||||
static: true
|
||||
offset: 94
|
||||
offset: 108
|
||||
scriptUri: main.dart
|
||||
expression: |
|
||||
list.first._hello()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Errors: {
|
||||
}
|
||||
static method /* from org-dartlang-debug:synthetic_debug_expression */ debugExpr(dart.core::_GrowableList<main::A> list) → dynamic
|
||||
return list.{dart.core::_GrowableList::first}{main::A}{dynamic}.lib::_hello();
|
||||
static method /* from org-dartlang-debug:synthetic_debug_expression */ debugExpr(dart.core::List<main::A> list) → dynamic
|
||||
return list.{dart.core::Iterable::first}{main::A}{dynamic}.lib::_hello();
|
||||
|
||||
@@ -46,7 +46,7 @@ type_bounds: []
|
||||
type_defaults: []
|
||||
method: "foo"
|
||||
static: true
|
||||
offset: 94
|
||||
offset: 108
|
||||
scriptUri: main.dart
|
||||
expression: |
|
||||
list.first[1]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Errors: {
|
||||
}
|
||||
static method /* from org-dartlang-debug:synthetic_debug_expression */ debugExpr(dart.core::_GrowableList<main::A> list) → dynamic
|
||||
return list.{dart.core::_GrowableList::first}{main::A}{dynamic}.[](1);
|
||||
static method /* from org-dartlang-debug:synthetic_debug_expression */ debugExpr(dart.core::List<main::A> list) → dynamic
|
||||
return list.{dart.core::Iterable::first}{main::A}{dynamic}.[](1);
|
||||
|
||||
@@ -46,7 +46,7 @@ type_bounds: []
|
||||
type_defaults: []
|
||||
method: "foo"
|
||||
static: true
|
||||
offset: 94
|
||||
offset: 108
|
||||
scriptUri: main.dart
|
||||
expression: |
|
||||
list.first[1] = 42
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Errors: {
|
||||
}
|
||||
static method /* from org-dartlang-debug:synthetic_debug_expression */ debugExpr(dart.core::_GrowableList<main::A> list) → dynamic
|
||||
return let final main::A #t1 = list.{dart.core::_GrowableList::first}{main::A} in let final dart.core::int #t2 = 1 in let final dart.core::int #t3 = 42 in let final void #t4 = #t1{dynamic}.[]=(#t2, #t3) in #t3;
|
||||
static method /* from org-dartlang-debug:synthetic_debug_expression */ debugExpr(dart.core::List<main::A> list) → dynamic
|
||||
return let final main::A #t1 = list.{dart.core::Iterable::first}{main::A} in let final dart.core::int #t2 = 1 in let final dart.core::int #t3 = 42 in let final void #t4 = #t1{dynamic}.[]=(#t2, #t3) in #t3;
|
||||
|
||||
@@ -46,7 +46,7 @@ type_bounds: []
|
||||
type_defaults: []
|
||||
method: "foo"
|
||||
static: true
|
||||
offset: 94
|
||||
offset: 108
|
||||
scriptUri: main.dart
|
||||
expression: |
|
||||
-list.first
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Errors: {
|
||||
}
|
||||
static method /* from org-dartlang-debug:synthetic_debug_expression */ debugExpr(dart.core::_GrowableList<main::A> list) → dynamic
|
||||
return list.{dart.core::_GrowableList::first}{main::A}{dynamic}.unary-();
|
||||
static method /* from org-dartlang-debug:synthetic_debug_expression */ debugExpr(dart.core::List<main::A> list) → dynamic
|
||||
return list.{dart.core::Iterable::first}{main::A}{dynamic}.unary-();
|
||||
|
||||
@@ -46,7 +46,7 @@ type_bounds: []
|
||||
type_defaults: []
|
||||
method: "foo"
|
||||
static: true
|
||||
offset: 94
|
||||
offset: 108
|
||||
scriptUri: main.dart
|
||||
expression: |
|
||||
list.first + 2
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Errors: {
|
||||
}
|
||||
static method /* from org-dartlang-debug:synthetic_debug_expression */ debugExpr(dart.core::_GrowableList<main::A> list) → dynamic
|
||||
return list.{dart.core::_GrowableList::first}{main::A}{dynamic}.+(2);
|
||||
static method /* from org-dartlang-debug:synthetic_debug_expression */ debugExpr(dart.core::List<main::A> list) → dynamic
|
||||
return list.{dart.core::Iterable::first}{main::A}{dynamic}.+(2);
|
||||
|
||||
Reference in New Issue
Block a user