mirror of
https://github.com/dart-lang/sdk
synced 2024-09-20 00:01:59 +00:00
Fix test now that we also go through an interceptor for operator[].
Review URL: https://codereview.chromium.org//11577003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16101 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
575765b43f
commit
b6b4c929d3
|
@ -29,6 +29,7 @@ foo(int a) {
|
|||
|
||||
const String TEST_THREE = r"""
|
||||
foo(a) {
|
||||
print([]);
|
||||
for (int b = 0; b < 10; b++) print(a[b]);
|
||||
}
|
||||
""";
|
||||
|
@ -49,6 +50,7 @@ foo(a) {
|
|||
|
||||
const String TEST_FIVE_WITH_BAILOUT = r"""
|
||||
foo(a) {
|
||||
print([]);
|
||||
for (int i = 0; i < 1; i++) {
|
||||
a[0] = 1;
|
||||
print(a[1]);
|
||||
|
@ -58,6 +60,7 @@ foo(a) {
|
|||
|
||||
const String TEST_SIX = r"""
|
||||
foo(a) {
|
||||
print([]);
|
||||
print(a[0]);
|
||||
while (true) {
|
||||
a[0] = a[1];
|
||||
|
|
Loading…
Reference in a new issue