7b5f8df929
For closures generated from both FunctionDeclarations and FunctionExpressions, the starting file offset of the generated closure function should be the file offset of the node itself, not the file offset of the FunctionNode. (This matches the logic in KernelLoader::LoadClosureFunction.) TEST=pkg/vm_service/test/coverage_extension_methods_test Cq-Include-Trybots: luci.dart.try:vm-dyn-linux-debug-x64-try Change-Id: I25a0cd0aa6505e122a215237ca6ef7e8edb031af Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/507424 Reviewed-by: Alexander Markov <alexmarkov@google.com> Commit-Queue: Tess Strickland <sstrickl@google.com>
This package contains Dart bytecode compiler.
Status: experimental
NOTE: This package is currently experimental and not published or included in the SDK.
Do not take dependency on this package unless you are prepared for breaking changes and possibly removal of this code at any point in time.