blob: bd5c0064296d4c3bc1ca6cfb3f1e30e735696733 [file] [log] [blame]
# Copyright (c) 2025, 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.
# 2 non-abstract methods, but only 1 non-abstract class.
sources:
main.dart: |
import 'dart:developer';
import 'lib.dart';
abstract class _A extends B {
void foo() {
debugger();
print("hello");
}
}
abstract class C extends _A {
String? get _foo => "C";
}
void main() {
D().foo();
}
lib.dart: |
import 'main.dart';
abstract class B {
}
class D extends C {
String get _foo => "D";
}
definitions: []
definition_types: []
type_definitions: []
type_bounds: []
type_defaults: []
position: "#_A"
method: "foo"
static: false
offset: 94
scriptUri: main.dart
expression: |
_foo