blob: f0f11302378c3fc2bf08cb7310e770268523f687 [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*/ /*sl:1*/ this[42]; // DDK fails to hover on `this`
return /*sl:2*/ this[42];
}
}
void main() {
Class2 c = Class2();
c[42];
c.code();
}