| # Copyright (c) 2026, 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. | |
| sources: | | |
| import 'dart:developer'; | |
| class C { | |
| final String _s1; | |
| final String _s2; | |
| C({required this._s1, required this._s2}); | |
| } | |
| void main() { | |
| debugger(); | |
| C c = new C(s1: "hello", s2: "world"); | |
| print(c); | |
| } | |
| definitions: ["s1", "s2"] | |
| # String, String | |
| definition_types: ["dart:core", "_OneByteString", "1", "0", "dart:core", "_OneByteString", "1", "0"] | |
| type_definitions: [] | |
| type_bounds: [] | |
| type_defaults: [] | |
| method: "C" | |
| position: "#C" | |
| static: false | |
| # On ";" after the parameters. | |
| # Here they are not found, but as they will shadow nothing it's best to allow | |
| # them to be used. | |
| offset: 119 | |
| scriptUri: main.dart | |
| expression: | | |
| () { return "$s1 $s2"; }() |