blob: 83db8150cee2600251f347186623c52b1ea44b3d [file] [log] [blame]
// Copyright (c) 2017, 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.
/*Debugger:stepOver*/
class Class2 {
operator [](index) => index;
code() {
/*bl*/ this /*s:1*/ [42];
return this /*sl:2*/ [42];
}
}
main() {
Class2 c = new Class2();
c[42];
c.code();
}