blob: fcbeebc6eb5cf86ebf19ed2f5e5e793f3992b5e8 [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.
# Late final field has a setter.
sources:
main.dart: |
import 'dart:developer';
import 'lib.dart';
class _A extends B {
void foo() {
debugger();
print("hello");
}
}
void main() {
_A().foo();
}
lib.dart: |
import 'main.dart';
class B {
late final int? _a;
}
definitions: []
definition_types: []
type_definitions: []
type_bounds: []
type_defaults: []
position: "#_A"
method: "foo"
static: false
offset: 85
scriptUri: main.dart
expression: |
_a = 42