blob: 3fb79122714cdaab3d51c29864be7f03e78e8765 [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.
# 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.
#
# Paused inside a function expression inside an extension.
sources: |
import 'dart:developer';
extension on int {
void foo() {
() {
debugger();
if (this == 42) {
print("It's 42!");
}
}();
}
}
void main(List<String> args) {
args.length.foo();
}
definitions: ["#this"]
definition_types: ["dart:core", "_Smi", "1", "0"]
type_definitions: []
type_bounds: []
type_defaults: []
method: "<anonymous closure>"
static: true
offset: 75
scriptUri: main.dart
expression: "this"