1f9d59c807
General approach: Find all scopes for an offset, then pick "the right one". This still leaves a few offsets where we can't pick 1 scope in the (non-outline) dills in the out directory though. More thorough testing will follow. TEST=ci Change-Id: I66448498e07aa03f720733bcaf167bbfa30bca2f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/338840 Commit-Queue: Jens Johansen <jensj@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com> Reviewed-by: Daco Harkes <dacoharkes@google.com>
24 lines
1.2 KiB
Plaintext
24 lines
1.2 KiB
Plaintext
library;
|
|
import self as self;
|
|
import "dart:ffi" as ffi;
|
|
|
|
import "dart:ffi";
|
|
import "package:ffi/ffi.dart";
|
|
|
|
final class StructInlineArray extends ffi::Struct {
|
|
synthetic constructor •() → self::StructInlineArray
|
|
;
|
|
@ffi::_ArraySize::•<ffi::NativeType>(8)
|
|
external get a0() → ffi::Array<ffi::Uint8>;
|
|
@ffi::_ArraySize::•<ffi::NativeType>(8)
|
|
external set a0(synthesized ffi::Array<ffi::Uint8> #externalFieldValue) → void;
|
|
}
|
|
static method main() → dynamic
|
|
;
|
|
|
|
|
|
Extra constant evaluation status:
|
|
Evaluated: ConstructorInvocation @ org-dartlang-testcase:///ffi_struct_inline_array.dart:10:4 -> InstanceConstant(const _ArraySize<NativeType*>{_ArraySize.dimension1: 8, _ArraySize.dimension2: null, _ArraySize.dimension3: null, _ArraySize.dimension4: null, _ArraySize.dimension5: null, _ArraySize.dimensions: null})
|
|
Evaluated: ConstructorInvocation @ org-dartlang-testcase:///ffi_struct_inline_array.dart:10:4 -> InstanceConstant(const _ArraySize<NativeType*>{_ArraySize.dimension1: 8, _ArraySize.dimension2: null, _ArraySize.dimension3: null, _ArraySize.dimension4: null, _ArraySize.dimension5: null, _ArraySize.dimensions: null})
|
|
Extra constant evaluation: evaluated: 2, effectively constant: 2
|