Files
sdk/pkg/compiler/test/dump_info/data/deferred_future/lib2.dart
T
Mark Zhou 0ee0fba728 [dart2js] Adding supertype hierarchy to dump info
Note: this info is not added to the proto format

Change-Id: Ic7407405dea7bcd7b9d3328cfe0850609dc007a9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/250785
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Mark Zhou <markzipan@google.com>
2022-07-19 00:55:53 +00:00

61 lines
1.5 KiB
Dart

// Copyright (c) 2019, 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.
/*library: library=[{
"id": "library/memory:sdk/tests/web/native/lib2.dart::",
"kind": "library",
"name": "<unnamed>",
"size": 68,
"children": [
"class/memory:sdk/tests/web/native/lib2.dart::A"
],
"canonicalUri": "memory:sdk/tests/web/native/lib2.dart"
}]*/
// @dart = 2.7
/*class: A:class=[{
"id": "class/memory:sdk/tests/web/native/lib2.dart::A",
"kind": "class",
"name": "A",
"size": 68,
"outputUnit": "outputUnit/1",
"parent": "library/memory:sdk/tests/web/native/lib2.dart::",
"modifiers": {
"abstract": false
},
"children": [
"function/memory:sdk/tests/web/native/lib2.dart::A.method"
],
"supers": []
}]*/
class A {
const A();
/*member: A.method:function=[{
"id": "function/memory:sdk/tests/web/native/lib2.dart::A.method",
"kind": "function",
"name": "method",
"size": 0,
"outputUnit": "outputUnit/1",
"parent": "class/memory:sdk/tests/web/native/lib2.dart::A",
"children": [],
"modifiers": {
"static": false,
"const": false,
"factory": false,
"external": false
},
"returnType": "dynamic",
"inferredReturnType": "[null]",
"parameters": [],
"sideEffects": "SideEffects(reads nothing; writes nothing)",
"inlinedCount": 1,
"code": "",
"type": "dynamic Function()",
"functionKind": 2
}]*/
method() {}
}