[deps] Roll dart-lang/native

The new record_use serializer orders keys alphabetically, the files
are staying the same length in lines.

Note: In a later PR we should update the golden files to be identical
between both compilers to ensure correctness across the compilers.

TEST=pkg/compiler/test/record_use/record_use_test.dart
TEST=pkg/dartdev/test/native_assets/*_test.dart
TEST=pkg/vm/test/transformations/record_use_test.dart

Change-Id: I3b4209b8952a0c86017fdc26c0e2351ba78a8f72
Cq-Include-Trybots: luci.dart.try:pkg-linux-debug-try,pkg-linux-release-arm64-try,pkg-linux-release-try,pkg-mac-release-arm64-try,pkg-mac-release-try,pkg-win-release-arm64-try,pkg-win-release-try,dart2js-canary-linux-try,dart2js-hostasserts-linux-d8-try,dart2js-linux-chrome-try,dart2js-linux-firefox-try,dart2js-mac-chrome-try,dart2js-mac-safari-try,dart2js-minified-csp-linux-chrome-try,dart2js-minified-linux-d8-try,dart2js-unit-linux-x64-release-try,dart2js-win-chrome-try,dart2wasm-linux-jscm-chrome-try,dart2wasm-linux-optimized-jsc-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/469060
Reviewed-by: Mayank Patke <fishythefish@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
This commit is contained in:
Daco Harkes
2025-12-19 02:12:42 -08:00
committed by Commit Queue
parent 7ed0d8d7b2
commit ced923c8ca
51 changed files with 922 additions and 922 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ vars = {
"i18n_rev": "dd8a792a8492370a594706c8304d2eb8db844d7a",
"leak_tracker_rev": "f5620600a5ce1c44f65ddaa02001e200b096e14c", # rolled manually
"material_color_utilities_rev": "799b6ba2f3f1c28c67cc7e0b4f18e0c7d7f3c03e",
"native_rev": "93039d7ef0b71cd01567e00e6b5be90a3e7d0668", # rolled manually while record_use is experimental
"native_rev": "9a11537944f2ee295df46104624fb714c3dd7741", # rolled manually while record_use is experimental
"protobuf_rev": "9e30258e0aa6a6430ee36c84b75308a9702fde42",
"pub_rev": "b21ac685bc64f6e81050ec0093aa83543d66e2fd", # rolled manually
"shelf_rev": "dd830a0338b31bee92fe7ebc20b9bb963403b6b0",
@@ -1,17 +1,4 @@
{
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
"environment": {
"dart.web.assertions_enabled": "false",
"dart.tool.dart2js": "true",
"dart.tool.dart2js.minify": "false",
"dart.tool.dart2js.disable_rti_optimization": "false",
"dart.tool.dart2js.primitives:trust": "false",
"dart.tool.dart2js.types:trust": "false"
},
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -31,62 +18,75 @@
"uri": "memory:sdk/tests/web/native/basic.dart"
}
],
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
"environment": {
"dart.web.assertions_enabled": "false",
"dart.tool.dart2js": "true",
"dart.tool.dart2js.minify": "false",
"dart.tool.dart2js.disable_rti_optimization": "false",
"dart.tool.dart2js.primitives:trust": "false",
"dart.tool.dart2js.types:trust": "false"
},
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "memory:sdk/tests/web/native/basic.dart",
"scope": "SomeClass",
"name": "someStaticMethod"
}
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
0
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
}
]
},
{
],
"definition": {
"identifier": {
"uri": "memory:sdk/tests/web/native/basic.dart",
"name": "someStaticMethod",
"scope": "SomeClass",
"name": "someStaticMethod2"
"uri": "memory:sdk/tests/web/native/basic.dart"
}
},
}
},
{
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
1
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
}
]
},
{
],
"definition": {
"identifier": {
"uri": "memory:sdk/tests/web/native/basic.dart",
"name": "someTopLevelMethod"
"name": "someStaticMethod2",
"scope": "SomeClass",
"uri": "memory:sdk/tests/web/native/basic.dart"
}
},
}
},
{
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
2
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "someTopLevelMethod",
"uri": "memory:sdk/tests/web/native/basic.dart"
}
}
}
]
}
}
@@ -1,17 +1,4 @@
{
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
"environment": {
"dart.web.assertions_enabled": "false",
"dart.tool.dart2js": "true",
"dart.tool.dart2js.minify": "false",
"dart.tool.dart2js.disable_rti_optimization": "false",
"dart.tool.dart2js.primitives:trust": "false",
"dart.tool.dart2js.types:trust": "false"
},
"version": "0.4.0"
},
"constants": [
{
"type": "String",
@@ -27,18 +14,25 @@
"uri": "memory:sdk/tests/web/native/complex.dart"
}
],
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
"environment": {
"dart.web.assertions_enabled": "false",
"dart.tool.dart2js": "true",
"dart.tool.dart2js.minify": "false",
"dart.tool.dart2js.disable_rti_optimization": "false",
"dart.tool.dart2js.primitives:trust": "false",
"dart.tool.dart2js.types:trust": "false"
},
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "memory:sdk/tests/web/native/complex.dart",
"scope": "OtherClass",
"name": "generate"
}
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
null,
null,
@@ -46,10 +40,16 @@
null,
1
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "generate",
"scope": "OtherClass",
"uri": "memory:sdk/tests/web/native/complex.dart"
}
}
}
]
}
}
@@ -12,4 +12,4 @@
},
"version": "0.4.0"
}
}
}
@@ -1,4 +1,15 @@
{
"constants": [
{
"type": "String",
"value": "42"
}
],
"locations": [
{
"uri": "memory:sdk/tests/web/native/extension.dart"
}
],
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
@@ -12,36 +23,25 @@
},
"version": "0.4.0"
},
"constants": [
{
"type": "String",
"value": "42"
}
],
"locations": [
{
"uri": "memory:sdk/tests/web/native/extension.dart"
}
],
"recordings": [
{
"definition": {
"identifier": {
"uri": "memory:sdk/tests/web/native/extension.dart",
"name": "_extension#0|callWithArgs"
}
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
null,
0
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "_extension#0|callWithArgs",
"uri": "memory:sdk/tests/web/native/extension.dart"
}
}
}
]
}
}
@@ -12,4 +12,4 @@
},
"version": "0.4.0"
}
}
}
@@ -12,4 +12,4 @@
},
"version": "0.4.0"
}
}
}
@@ -12,4 +12,4 @@
},
"version": "0.4.0"
}
}
}
@@ -12,4 +12,4 @@
},
"version": "0.4.0"
}
}
}
@@ -12,4 +12,4 @@
},
"version": "0.4.0"
}
}
}
@@ -1,17 +1,4 @@
{
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
"environment": {
"dart.web.assertions_enabled": "false",
"dart.tool.dart2js": "true",
"dart.tool.dart2js.minify": "false",
"dart.tool.dart2js.disable_rti_optimization": "false",
"dart.tool.dart2js.primitives:trust": "false",
"dart.tool.dart2js.types:trust": "false"
},
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -34,52 +21,65 @@
"uri": "memory:sdk/tests/web/native/loading_units_multiple.dart"
}
],
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
"environment": {
"dart.web.assertions_enabled": "false",
"dart.tool.dart2js": "true",
"dart.tool.dart2js.minify": "false",
"dart.tool.dart2js.disable_rti_optimization": "false",
"dart.tool.dart2js.primitives:trust": "false",
"dart.tool.dart2js.types:trust": "false"
},
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "memory:sdk/tests/web/native/loading_units_multiple_helper_shared.dart",
"scope": "SomeClass",
"name": "someStaticMethod"
}
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out_1",
"positional": [
0
],
"loading_unit": "out_1",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 1,
"loading_unit": "out",
"positional": [
0
],
"loading_unit": "out",
"@": 1
"type": "with_arguments"
}
]
},
{
],
"definition": {
"identifier": {
"uri": "dart:_js_helper",
"name": "loadDeferredLibrary"
"name": "someStaticMethod",
"scope": "SomeClass",
"uri": "memory:sdk/tests/web/native/loading_units_multiple_helper_shared.dart"
}
},
}
},
{
"calls": [
{
"type": "with_arguments",
"@": 1,
"loading_unit": "out",
"positional": [
1,
2
],
"loading_unit": "out",
"@": 1
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "loadDeferredLibrary",
"uri": "dart:_js_helper"
}
}
}
]
}
}
@@ -1,17 +1,4 @@
{
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
"environment": {
"dart.web.assertions_enabled": "false",
"dart.tool.dart2js": "true",
"dart.tool.dart2js.minify": "false",
"dart.tool.dart2js.disable_rti_optimization": "false",
"dart.tool.dart2js.primitives:trust": "false",
"dart.tool.dart2js.types:trust": "false"
},
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -34,63 +21,76 @@
"uri": "memory:sdk/tests/web/native/loading_units_simple.dart"
}
],
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
"environment": {
"dart.web.assertions_enabled": "false",
"dart.tool.dart2js": "true",
"dart.tool.dart2js.minify": "false",
"dart.tool.dart2js.disable_rti_optimization": "false",
"dart.tool.dart2js.primitives:trust": "false",
"dart.tool.dart2js.types:trust": "false"
},
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "memory:sdk/tests/web/native/loading_units_simple_helper.dart",
"scope": "SomeClass",
"name": "someStaticMethod"
}
},
"calls": [
{
"type": "with_arguments",
"positional": [
0
],
"@": 0,
"loading_unit": "out_1",
"@": 0
}
]
},
{
"definition": {
"identifier": {
"uri": "memory:sdk/tests/web/native/loading_units_simple.dart",
"scope": "SomeClass",
"name": "someStaticMethod"
}
},
"calls": [
{
"type": "with_arguments",
"positional": [
0
],
"loading_unit": "out",
"@": 1
"type": "with_arguments"
}
]
},
{
],
"definition": {
"identifier": {
"uri": "dart:_js_helper",
"name": "loadDeferredLibrary"
"name": "someStaticMethod",
"scope": "SomeClass",
"uri": "memory:sdk/tests/web/native/loading_units_simple_helper.dart"
}
},
}
},
{
"calls": [
{
"type": "with_arguments",
"@": 1,
"loading_unit": "out",
"positional": [
0
],
"type": "with_arguments"
}
],
"definition": {
"identifier": {
"name": "someStaticMethod",
"scope": "SomeClass",
"uri": "memory:sdk/tests/web/native/loading_units_simple.dart"
}
}
},
{
"calls": [
{
"@": 1,
"loading_unit": "out",
"positional": [
1,
2
],
"loading_unit": "out",
"@": 1
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "loadDeferredLibrary",
"uri": "dart:_js_helper"
}
}
}
]
}
}
@@ -1,17 +1,4 @@
{
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
"environment": {
"dart.web.assertions_enabled": "false",
"dart.tool.dart2js": "true",
"dart.tool.dart2js.minify": "false",
"dart.tool.dart2js.disable_rti_optimization": "false",
"dart.tool.dart2js.primitives:trust": "false",
"dart.tool.dart2js.types:trust": "false"
},
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -42,57 +29,70 @@
"uri": "memory:sdk/tests/web/native/named_and_positional.dart"
}
],
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
"environment": {
"dart.web.assertions_enabled": "false",
"dart.tool.dart2js": "true",
"dart.tool.dart2js.minify": "false",
"dart.tool.dart2js.disable_rti_optimization": "false",
"dart.tool.dart2js.primitives:trust": "false",
"dart.tool.dart2js.types:trust": "false"
},
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "memory:sdk/tests/web/native/named_and_positional.dart",
"scope": "SomeClass",
"name": "someStaticMethod"
}
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
0,
0,
1
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
2,
3,
1
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
2,
0,
4
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
2,
5,
4
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "someStaticMethod",
"scope": "SomeClass",
"uri": "memory:sdk/tests/web/native/named_and_positional.dart"
}
}
}
]
}
}
@@ -1,17 +1,4 @@
{
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
"environment": {
"dart.web.assertions_enabled": "false",
"dart.tool.dart2js": "true",
"dart.tool.dart2js.minify": "false",
"dart.tool.dart2js.disable_rti_optimization": "false",
"dart.tool.dart2js.primitives:trust": "false",
"dart.tool.dart2js.types:trust": "false"
},
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -42,57 +29,70 @@
"uri": "memory:sdk/tests/web/native/named_both.dart"
}
],
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
"environment": {
"dart.web.assertions_enabled": "false",
"dart.tool.dart2js": "true",
"dart.tool.dart2js.minify": "false",
"dart.tool.dart2js.disable_rti_optimization": "false",
"dart.tool.dart2js.primitives:trust": "false",
"dart.tool.dart2js.types:trust": "false"
},
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "memory:sdk/tests/web/native/named_both.dart",
"scope": "SomeClass",
"name": "someStaticMethod"
}
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
0,
0,
1
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
2,
3,
1
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
2,
0,
4
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
2,
5,
4
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "someStaticMethod",
"scope": "SomeClass",
"uri": "memory:sdk/tests/web/native/named_both.dart"
}
}
}
]
}
}
@@ -1,17 +1,4 @@
{
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
"environment": {
"dart.web.assertions_enabled": "false",
"dart.tool.dart2js": "true",
"dart.tool.dart2js.minify": "false",
"dart.tool.dart2js.disable_rti_optimization": "false",
"dart.tool.dart2js.primitives:trust": "false",
"dart.tool.dart2js.types:trust": "false"
},
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -27,33 +14,46 @@
"uri": "memory:sdk/tests/web/native/named_optional.dart"
}
],
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
"environment": {
"dart.web.assertions_enabled": "false",
"dart.tool.dart2js": "true",
"dart.tool.dart2js.minify": "false",
"dart.tool.dart2js.disable_rti_optimization": "false",
"dart.tool.dart2js.primitives:trust": "false",
"dart.tool.dart2js.types:trust": "false"
},
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "memory:sdk/tests/web/native/named_optional.dart",
"scope": "SomeClass",
"name": "someStaticMethod"
}
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
0
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
1
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "someStaticMethod",
"scope": "SomeClass",
"uri": "memory:sdk/tests/web/native/named_optional.dart"
}
}
}
]
}
}
@@ -1,17 +1,4 @@
{
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
"environment": {
"dart.web.assertions_enabled": "false",
"dart.tool.dart2js": "true",
"dart.tool.dart2js.minify": "false",
"dart.tool.dart2js.disable_rti_optimization": "false",
"dart.tool.dart2js.primitives:trust": "false",
"dart.tool.dart2js.types:trust": "false"
},
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -27,33 +14,46 @@
"uri": "memory:sdk/tests/web/native/named_required.dart"
}
],
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
"environment": {
"dart.web.assertions_enabled": "false",
"dart.tool.dart2js": "true",
"dart.tool.dart2js.minify": "false",
"dart.tool.dart2js.disable_rti_optimization": "false",
"dart.tool.dart2js.primitives:trust": "false",
"dart.tool.dart2js.types:trust": "false"
},
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "memory:sdk/tests/web/native/named_required.dart",
"scope": "SomeClass",
"name": "someStaticMethod"
}
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
0
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
1
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "someStaticMethod",
"scope": "SomeClass",
"uri": "memory:sdk/tests/web/native/named_required.dart"
}
}
}
]
}
}
@@ -12,4 +12,4 @@
},
"version": "0.4.0"
}
}
}
@@ -1,4 +1,15 @@
{
"constants": [
{
"type": "int",
"value": 42
}
],
"locations": [
{
"uri": "memory:sdk/tests/web/native/partfile_main.dart"
}
],
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
@@ -12,36 +23,25 @@
},
"version": "0.4.0"
},
"constants": [
{
"type": "int",
"value": 42
}
],
"locations": [
{
"uri": "memory:sdk/tests/web/native/partfile_main.dart"
}
],
"recordings": [
{
"definition": {
"identifier": {
"uri": "memory:sdk/tests/web/native/partfile_main.dart",
"scope": "SomeClass",
"name": "someStaticMethod"
}
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
0
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "someStaticMethod",
"scope": "SomeClass",
"uri": "memory:sdk/tests/web/native/partfile_main.dart"
}
}
}
]
}
}
@@ -1,17 +1,4 @@
{
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
"environment": {
"dart.web.assertions_enabled": "false",
"dart.tool.dart2js": "true",
"dart.tool.dart2js.minify": "false",
"dart.tool.dart2js.disable_rti_optimization": "false",
"dart.tool.dart2js.primitives:trust": "false",
"dart.tool.dart2js.types:trust": "false"
},
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -35,35 +22,48 @@
"uri": "memory:sdk/tests/web/native/positional_both.dart"
}
],
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
"environment": {
"dart.web.assertions_enabled": "false",
"dart.tool.dart2js": "true",
"dart.tool.dart2js.minify": "false",
"dart.tool.dart2js.disable_rti_optimization": "false",
"dart.tool.dart2js.primitives:trust": "false",
"dart.tool.dart2js.types:trust": "false"
},
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "memory:sdk/tests/web/native/positional_both.dart",
"scope": "SomeClass",
"name": "someStaticMethod"
}
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
0,
1
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
2,
3
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "someStaticMethod",
"scope": "SomeClass",
"uri": "memory:sdk/tests/web/native/positional_both.dart"
}
}
}
]
}
}
@@ -1,17 +1,4 @@
{
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
"environment": {
"dart.web.assertions_enabled": "false",
"dart.tool.dart2js": "true",
"dart.tool.dart2js.minify": "false",
"dart.tool.dart2js.disable_rti_optimization": "false",
"dart.tool.dart2js.primitives:trust": "false",
"dart.tool.dart2js.types:trust": "false"
},
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -27,33 +14,46 @@
"uri": "memory:sdk/tests/web/native/positional_optional.dart"
}
],
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
"environment": {
"dart.web.assertions_enabled": "false",
"dart.tool.dart2js": "true",
"dart.tool.dart2js.minify": "false",
"dart.tool.dart2js.disable_rti_optimization": "false",
"dart.tool.dart2js.primitives:trust": "false",
"dart.tool.dart2js.types:trust": "false"
},
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "memory:sdk/tests/web/native/positional_optional.dart",
"scope": "SomeClass",
"name": "someStaticMethod"
}
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
0
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
1
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "someStaticMethod",
"scope": "SomeClass",
"uri": "memory:sdk/tests/web/native/positional_optional.dart"
}
}
}
]
}
}
@@ -12,4 +12,4 @@
},
"version": "0.4.0"
}
}
}
@@ -12,4 +12,4 @@
},
"version": "0.4.0"
}
}
}
@@ -1,4 +1,15 @@
{
"constants": [
{
"type": "int",
"value": 42
}
],
"locations": [
{
"uri": "memory:sdk/tests/web/native/simple.dart"
}
],
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
@@ -12,36 +23,25 @@
},
"version": "0.4.0"
},
"constants": [
{
"type": "int",
"value": 42
}
],
"locations": [
{
"uri": "memory:sdk/tests/web/native/simple.dart"
}
],
"recordings": [
{
"definition": {
"identifier": {
"uri": "memory:sdk/tests/web/native/simple.dart",
"scope": "SomeClass",
"name": "someStaticMethod"
}
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
0
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "someStaticMethod",
"scope": "SomeClass",
"uri": "memory:sdk/tests/web/native/simple.dart"
}
}
}
]
}
}
@@ -1,4 +1,15 @@
{
"constants": [
{
"type": "int",
"value": 42
}
],
"locations": [
{
"uri": "memory:sdk/tests/web/native/tearoff.dart"
}
],
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
@@ -12,36 +23,25 @@
},
"version": "0.4.0"
},
"constants": [
{
"type": "int",
"value": 42
}
],
"locations": [
{
"uri": "memory:sdk/tests/web/native/tearoff.dart"
}
],
"recordings": [
{
"definition": {
"identifier": {
"uri": "memory:sdk/tests/web/native/tearoff.dart",
"scope": "SomeClass",
"name": "someStaticMethod"
}
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
0
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "someStaticMethod",
"scope": "SomeClass",
"uri": "memory:sdk/tests/web/native/tearoff.dart"
}
}
}
]
}
}
@@ -1,4 +1,15 @@
{
"constants": [
{
"type": "int",
"value": 42
}
],
"locations": [
{
"uri": "memory:sdk/tests/web/native/top_level_method.dart"
}
],
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
@@ -12,35 +23,24 @@
},
"version": "0.4.0"
},
"constants": [
{
"type": "int",
"value": 42
}
],
"locations": [
{
"uri": "memory:sdk/tests/web/native/top_level_method.dart"
}
],
"recordings": [
{
"definition": {
"identifier": {
"uri": "memory:sdk/tests/web/native/top_level_method.dart",
"name": "someTopLevelMethod"
}
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
0
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "someTopLevelMethod",
"uri": "memory:sdk/tests/web/native/top_level_method.dart"
}
}
}
]
}
}
@@ -1,17 +1,4 @@
{
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
"environment": {
"dart.web.assertions_enabled": "false",
"dart.tool.dart2js": "true",
"dart.tool.dart2js.minify": "false",
"dart.tool.dart2js.disable_rti_optimization": "false",
"dart.tool.dart2js.primitives:trust": "false",
"dart.tool.dart2js.types:trust": "false"
},
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -34,65 +21,78 @@
"uri": "memory:sdk/tests/web/native/types_of_arguments.dart"
}
],
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
"environment": {
"dart.web.assertions_enabled": "false",
"dart.tool.dart2js": "true",
"dart.tool.dart2js.minify": "false",
"dart.tool.dart2js.disable_rti_optimization": "false",
"dart.tool.dart2js.primitives:trust": "false",
"dart.tool.dart2js.types:trust": "false"
},
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "memory:sdk/tests/web/native/types_of_arguments.dart",
"scope": "SomeClass",
"name": "someStaticMethod"
}
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
0
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
1
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
2
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
3
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
null
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out",
"positional": [
null
],
"loading_unit": "out",
"@": 0
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "someStaticMethod",
"scope": "SomeClass",
"uri": "memory:sdk/tests/web/native/types_of_arguments.dart"
}
}
}
]
}
}
@@ -69,19 +69,6 @@ void main() async {
final actualRecordedUsages = recordedUsages.readAsStringSync();
final expectedRecordedUsages = '''{
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
"environment": {
"dart.web.assertions_enabled": "false",
"dart.tool.dart2js": "true",
"dart.tool.dart2js.minify": "false",
"dart.tool.dart2js.disable_rti_optimization": "false",
"dart.tool.dart2js.primitives:trust": "false",
"dart.tool.dart2js.types:trust": "false"
},
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -97,26 +84,39 @@ void main() async {
"uri": "bin/drop_data_asset_calls.dart"
}
],
"metadata": {
"comment": "Resources referenced by annotated resource identifiers",
"AppTag": "TBD",
"environment": {
"dart.web.assertions_enabled": "false",
"dart.tool.dart2js": "true",
"dart.tool.dart2js.minify": "false",
"dart.tool.dart2js.disable_rti_optimization": "false",
"dart.tool.dart2js.primitives:trust": "false",
"dart.tool.dart2js.types:trust": "false"
},
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "package:drop_data_asset/src/drop_data_asset.dart",
"scope": "MyMath",
"name": "add"
}
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "out.js",
"positional": [
0,
1
],
"loading_unit": "out.js",
"@": 0
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "add",
"scope": "MyMath",
"uri": "package:drop_data_asset/src/drop_data_asset.dart"
}
}
}
]
}''';
@@ -1,8 +1,4 @@
{
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -14,19 +10,16 @@
"uri": "complex.dart"
}
],
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "complex.dart",
"scope": "OtherClass",
"name": "generate"
},
"loading_unit": "1"
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "1",
"positional": [
null,
null,
@@ -34,10 +27,17 @@
null,
0
],
"loading_unit": "1",
"@": 0
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "generate",
"scope": "OtherClass",
"uri": "complex.dart"
},
"loading_unit": "1"
}
}
]
}
@@ -1,8 +1,4 @@
{
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"constants": [
{
"type": "String",
@@ -14,25 +10,29 @@
"uri": "extension.dart"
}
],
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "extension.dart",
"name": "_extension#0|callWithArgs"
},
"loading_unit": "1"
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "1",
"positional": [
0
],
"loading_unit": "1",
"@": 0
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "_extension#0|callWithArgs",
"uri": "extension.dart"
},
"loading_unit": "1"
}
}
]
}
@@ -1,8 +1,4 @@
{
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -20,20 +16,24 @@
"uri": "instance_class.dart"
}
],
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "instance_class.dart",
"name": "MyClass"
"name": "MyClass",
"uri": "instance_class.dart"
},
"loading_unit": "1"
},
"instances": [
{
"@": 0,
"constant_index": 1,
"loading_unit": "1",
"@": 0
"loading_unit": "1"
}
]
}
@@ -1,8 +1,4 @@
{
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -62,20 +58,24 @@
"uri": "instance_complex.dart"
}
],
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "instance_complex.dart",
"name": "MyClass"
"name": "MyClass",
"uri": "instance_complex.dart"
},
"loading_unit": "1"
},
"instances": [
{
"@": 0,
"constant_index": 9,
"loading_unit": "1",
"@": 0
"loading_unit": "1"
}
]
}
@@ -1,8 +1,4 @@
{
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -30,25 +26,29 @@
"uri": "instance_duplicates.dart"
}
],
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "instance_duplicates.dart",
"name": "MyClass"
"name": "MyClass",
"uri": "instance_duplicates.dart"
},
"loading_unit": "1"
},
"instances": [
{
"@": 0,
"constant_index": 1,
"loading_unit": "1",
"@": 0
"loading_unit": "1"
},
{
"@": 0,
"constant_index": 3,
"loading_unit": "1",
"@": 0
"loading_unit": "1"
}
]
}
@@ -1,8 +1,4 @@
{
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -20,20 +16,24 @@
"uri": "instance_method.dart"
}
],
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "instance_method.dart",
"name": "MyClass"
"name": "MyClass",
"uri": "instance_method.dart"
},
"loading_unit": "1"
},
"instances": [
{
"@": 0,
"constant_index": 1,
"loading_unit": "1",
"@": 0
"loading_unit": "1"
}
]
}
@@ -1,8 +1,4 @@
{
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"constants": [
{
"type": "Instance"
@@ -13,20 +9,24 @@
"uri": "instance_not_annotation.dart"
}
],
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "instance_not_annotation.dart",
"name": "MyClass"
"name": "MyClass",
"uri": "instance_not_annotation.dart"
},
"loading_unit": "1"
},
"instances": [
{
"@": 0,
"constant_index": 0,
"loading_unit": "1",
"@": 0
"loading_unit": "1"
}
]
}
@@ -1,8 +1,4 @@
{
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -17,34 +13,38 @@
"uri": "loading_units_multiple_helper.dart"
}
],
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "loading_units_multiple_helper_shared.dart",
"scope": "SomeClass",
"name": "someStaticMethod"
},
"loading_unit": "1"
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "1",
"positional": [
0
],
"loading_unit": "1",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 1,
"loading_unit": "2",
"positional": [
0
],
"loading_unit": "2",
"@": 1
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "someStaticMethod",
"scope": "SomeClass",
"uri": "loading_units_multiple_helper_shared.dart"
},
"loading_unit": "1"
}
}
]
}
@@ -1,8 +1,4 @@
{
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -17,46 +13,50 @@
"uri": "loading_units_simple_helper.dart"
}
],
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"recordings": [
{
"calls": [
{
"@": 0,
"loading_unit": "1",
"positional": [
0
],
"type": "with_arguments"
}
],
"definition": {
"identifier": {
"uri": "loading_units_simple.dart",
"name": "someStaticMethod",
"scope": "SomeClass",
"name": "someStaticMethod"
"uri": "loading_units_simple.dart"
},
"loading_unit": "1"
},
"calls": [
{
"type": "with_arguments",
"positional": [
0
],
"loading_unit": "1",
"@": 0
}
]
}
},
{
"definition": {
"identifier": {
"uri": "loading_units_simple_helper.dart",
"scope": "SomeClass",
"name": "someStaticMethod"
},
"loading_unit": "2"
},
"calls": [
{
"type": "with_arguments",
"@": 1,
"loading_unit": "2",
"positional": [
0
],
"loading_unit": "2",
"@": 1
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "someStaticMethod",
"scope": "SomeClass",
"uri": "loading_units_simple_helper.dart"
},
"loading_unit": "2"
}
}
]
}
@@ -1,8 +1,4 @@
{
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -33,66 +29,70 @@
"uri": "named_and_positional.dart"
}
],
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "named_and_positional.dart",
"scope": "SomeClass",
"name": "someStaticMethod"
},
"loading_unit": "1"
},
"calls": [
{
"type": "with_arguments",
"positional": [
0
],
"@": 0,
"loading_unit": "1",
"named": {
"l": 1,
"k": 0
},
"loading_unit": "1",
"@": 0
"positional": [
0
],
"type": "with_arguments"
},
{
"type": "with_arguments",
"positional": [
2
],
"@": 0,
"loading_unit": "1",
"named": {
"k": 3,
"l": 1
},
"loading_unit": "1",
"@": 0
},
{
"type": "with_arguments",
"positional": [
2
],
"type": "with_arguments"
},
{
"@": 0,
"loading_unit": "1",
"named": {
"l": 4,
"k": 0
},
"loading_unit": "1",
"@": 0
},
{
"type": "with_arguments",
"positional": [
2
],
"type": "with_arguments"
},
{
"@": 0,
"loading_unit": "1",
"named": {
"l": 4,
"k": 5
},
"loading_unit": "1",
"@": 0
"positional": [
2
],
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "someStaticMethod",
"scope": "SomeClass",
"uri": "named_and_positional.dart"
},
"loading_unit": "1"
}
}
]
}
@@ -1,8 +1,4 @@
{
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -33,58 +29,62 @@
"uri": "named_both.dart"
}
],
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "named_both.dart",
"scope": "SomeClass",
"name": "someStaticMethod"
},
"loading_unit": "1"
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "1",
"named": {
"i": 0,
"l": 1,
"k": 0
},
"loading_unit": "1",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "1",
"named": {
"i": 2,
"k": 3,
"l": 1
},
"loading_unit": "1",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "1",
"named": {
"i": 2,
"l": 4,
"k": 0
},
"loading_unit": "1",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "1",
"named": {
"i": 2,
"l": 4,
"k": 5
},
"loading_unit": "1",
"@": 0
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "someStaticMethod",
"scope": "SomeClass",
"uri": "named_both.dart"
},
"loading_unit": "1"
}
}
]
}
@@ -1,8 +1,4 @@
{
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -18,34 +14,38 @@
"uri": "named_optional.dart"
}
],
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "named_optional.dart",
"scope": "SomeClass",
"name": "someStaticMethod"
},
"loading_unit": "1"
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "1",
"named": {
"i": 0
},
"loading_unit": "1",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "1",
"named": {
"i": 1
},
"loading_unit": "1",
"@": 0
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "someStaticMethod",
"scope": "SomeClass",
"uri": "named_optional.dart"
},
"loading_unit": "1"
}
}
]
}
@@ -1,8 +1,4 @@
{
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -18,34 +14,38 @@
"uri": "named_required.dart"
}
],
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "named_required.dart",
"scope": "SomeClass",
"name": "someStaticMethod"
},
"loading_unit": "1"
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "1",
"named": {
"i": 0
},
"loading_unit": "1",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "1",
"named": {
"i": 1
},
"loading_unit": "1",
"@": 0
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "someStaticMethod",
"scope": "SomeClass",
"uri": "named_required.dart"
},
"loading_unit": "1"
}
}
]
}
@@ -1,8 +1,4 @@
{
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"constants": [
{
"type": "String",
@@ -14,28 +10,32 @@
"uri": "named_with_function_arg.dart"
}
],
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "named_with_function_arg.dart",
"name": "Ext|foo"
},
"loading_unit": "1"
},
"calls": [
{
"type": "with_arguments",
"positional": [
null
],
"@": 0,
"loading_unit": "1",
"named": {
"s": 0
},
"loading_unit": "1",
"@": 0
"positional": [
null
],
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "Ext|foo",
"uri": "named_with_function_arg.dart"
},
"loading_unit": "1"
}
}
]
}
@@ -1,8 +1,4 @@
{
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -33,41 +29,45 @@
"uri": "nested.dart"
}
],
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "nested.dart",
"name": "MyClass"
"name": "MyClass",
"uri": "nested.dart"
},
"loading_unit": "1"
},
"instances": [
{
"@": 0,
"constant_index": 1,
"loading_unit": "1",
"@": 0
"loading_unit": "1"
},
{
"@": 0,
"constant_index": 3,
"loading_unit": "1",
"@": 0
"loading_unit": "1"
}
]
},
{
"definition": {
"identifier": {
"uri": "nested.dart",
"name": "MyOtherClass"
"name": "MyOtherClass",
"uri": "nested.dart"
},
"loading_unit": "1"
},
"instances": [
{
"@": 0,
"constant_index": 4,
"loading_unit": "1",
"@": 0
"loading_unit": "1"
}
]
}
@@ -1,8 +1,4 @@
{
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -14,26 +10,30 @@
"uri": "partfile_main.dart"
}
],
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "partfile_main.dart",
"scope": "SomeClass",
"name": "someStaticMethod"
},
"loading_unit": "1"
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "1",
"positional": [
0
],
"loading_unit": "1",
"@": 0
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "someStaticMethod",
"scope": "SomeClass",
"uri": "partfile_main.dart"
},
"loading_unit": "1"
}
}
]
}
@@ -1,8 +1,4 @@
{
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -26,36 +22,40 @@
"uri": "positional_both.dart"
}
],
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "positional_both.dart",
"scope": "SomeClass",
"name": "someStaticMethod"
},
"loading_unit": "1"
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "1",
"positional": [
0,
1
],
"loading_unit": "1",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "1",
"positional": [
2,
3
],
"loading_unit": "1",
"@": 0
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "someStaticMethod",
"scope": "SomeClass",
"uri": "positional_both.dart"
},
"loading_unit": "1"
}
}
]
}
@@ -1,8 +1,4 @@
{
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -18,34 +14,38 @@
"uri": "positional_optional.dart"
}
],
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "positional_optional.dart",
"scope": "SomeClass",
"name": "someStaticMethod"
},
"loading_unit": "1"
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "1",
"positional": [
0
],
"loading_unit": "1",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "1",
"positional": [
1
],
"loading_unit": "1",
"@": 0
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "someStaticMethod",
"scope": "SomeClass",
"uri": "positional_optional.dart"
},
"loading_unit": "1"
}
}
]
}
@@ -1,8 +1,4 @@
{
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -31,20 +27,24 @@
"uri": "record_enum.dart"
}
],
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "record_enum.dart",
"name": "MyClass"
"name": "MyClass",
"uri": "record_enum.dart"
},
"loading_unit": "1"
},
"instances": [
{
"@": 0,
"constant_index": 3,
"loading_unit": "1",
"@": 0
"loading_unit": "1"
}
]
}
@@ -1,8 +1,4 @@
{
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"constants": [
{
"type": "Instance"
@@ -19,20 +15,24 @@
"uri": "record_instance_constant_empty.dart"
}
],
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "record_instance_constant_empty.dart",
"name": "MyClass"
"name": "MyClass",
"uri": "record_instance_constant_empty.dart"
},
"loading_unit": "1"
},
"instances": [
{
"@": 0,
"constant_index": 1,
"loading_unit": "1",
"@": 0
"loading_unit": "1"
}
]
}
@@ -1,8 +1,4 @@
{
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -14,26 +10,30 @@
"uri": "simple.dart"
}
],
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "simple.dart",
"scope": "SomeClass",
"name": "someStaticMethod"
},
"loading_unit": "1"
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "1",
"positional": [
0
],
"loading_unit": "1",
"@": 0
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "someStaticMethod",
"scope": "SomeClass",
"uri": "simple.dart"
},
"loading_unit": "1"
}
}
]
}
@@ -1,30 +1,30 @@
{
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"locations": [
{
"uri": "tearoff.dart"
}
],
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "tearoff.dart",
"scope": "SomeClass",
"name": "someStaticMethod"
},
"loading_unit": "1"
},
"calls": [
{
"type": "tearoff",
"@": 0,
"loading_unit": "1",
"@": 0
"type": "tearoff"
}
]
],
"definition": {
"identifier": {
"name": "someStaticMethod",
"scope": "SomeClass",
"uri": "tearoff.dart"
},
"loading_unit": "1"
}
}
]
}
@@ -1,8 +1,4 @@
{
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -14,25 +10,29 @@
"uri": "top_level_method.dart"
}
],
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "top_level_method.dart",
"name": "someTopLevelMethod"
},
"loading_unit": "1"
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "1",
"positional": [
0
],
"loading_unit": "1",
"@": 0
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "someTopLevelMethod",
"uri": "top_level_method.dart"
},
"loading_unit": "1"
}
}
]
}
@@ -1,8 +1,4 @@
{
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"constants": [
{
"type": "int",
@@ -62,66 +58,70 @@
"uri": "types_of_arguments.dart"
}
],
"metadata": {
"comment": "Recorded usages of objects tagged with a `RecordUse` annotation",
"version": "0.4.0"
},
"recordings": [
{
"definition": {
"identifier": {
"uri": "types_of_arguments.dart",
"scope": "SomeClass",
"name": "someStaticMethod"
},
"loading_unit": "1"
},
"calls": [
{
"type": "with_arguments",
"@": 0,
"loading_unit": "1",
"positional": [
0
],
"loading_unit": "1",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "1",
"positional": [
1
],
"loading_unit": "1",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "1",
"positional": [
2
],
"loading_unit": "1",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "1",
"positional": [
3
],
"loading_unit": "1",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "1",
"positional": [
10
],
"loading_unit": "1",
"@": 0
"type": "with_arguments"
},
{
"type": "with_arguments",
"@": 0,
"loading_unit": "1",
"positional": [
null
],
"loading_unit": "1",
"@": 0
"type": "with_arguments"
}
]
],
"definition": {
"identifier": {
"name": "someStaticMethod",
"scope": "SomeClass",
"uri": "types_of_arguments.dart"
},
"loading_unit": "1"
}
}
]
}