| # 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. |
| |
| # The user has provided a name we can't find, but as it's marked as |
| # user-provided ("viaScope") we should keep it around and trust the type given. |
| |
| sources: | |
| void main() { |
| print("hello"); |
| } |
| |
| definitions: ["foo"] |
| # We pretend like the VM tells us about a user-provided int. |
| definition_types: ["viaScope", "dart:core", "_Smi", "1", "0"] |
| type_definitions: [] |
| type_bounds: [] |
| type_defaults: [] |
| method: "main" |
| static: true |
| offset: 16 # on 'print' |
| scriptUri: main.dart |
| expression: | |
| foo.isEven() |