blob: 9351447bea00bab1555d36ad8723f09cc18a5406 [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.
// @dart = 2.9
/*Debugger:stepOver*/
class Class2 {
dynamic operator [](index) => index;
dynamic code() {
this[42];
return this[42];
}
}
void main() {
/*bl*/ /*sl:1*/ var c = Class2();
c /*sl:2*/ [42];
c /*sl:3*/ .code();
}