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:
ngeoffray@google.com 2012-12-13 12:04:14 +00:00
parent 575765b43f
commit b6b4c929d3

View file

@ -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];