| # 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. |
| |
| # https://github.com/dart-lang/sdk/issues/53996 |
| |
| # Definition, offset, method etc extracted by starting the VM with |
| # `-DDFE_VERBOSE=true`, e.g. |
| # ``` |
| # out/ReleaseX64/dart -DDFE_VERBOSE=true --enable-vm-service \ |
| # --disable-service-auth-codes --pause_isolates_on_start inputFile.dart |
| # ``` |
| # and then issuing the expression compilation. |
| |
| sources: | |
| import "dart:developer"; |
| |
| class A { |
| List list; |
| A(this.list) { |
| debugger(); |
| list = [3]; |
| print(list); |
| } |
| } |
| |
| void main() { |
| new A([1, 2]); |
| } |
| |
| definitions: [] |
| definition_types: [] |
| type_definitions: [] |
| type_bounds: [] |
| type_defaults: [] |
| method: "A" |
| position: "#A" |
| static: false |
| offset: 70 |
| scriptUri: main.dart |
| expression: | |
| list |