ed802c248d
Previously super calls used the constructer they we're super's for as callers when accounting for coverage. That's not accurate (in that it's not the cause for the evaluation) and is fixed here. Change-Id: Icee2b64c568063c7729a0b9a70f0a6ec36aedae6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/205644 Commit-Queue: Jens Johansen <jensj@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>
30 lines
855 B
Plaintext
30 lines
855 B
Plaintext
library /*isNonNullableByDefault*/;
|
|
import self as self;
|
|
import "dart:ffi" as ffi;
|
|
|
|
import "dart:ffi";
|
|
import "package:ffi/ffi.dart";
|
|
|
|
class StructInlineArray extends ffi::Struct {
|
|
synthetic constructor •() → self::StructInlineArray
|
|
: super ffi::Struct::•()
|
|
;
|
|
@#C3
|
|
external get a0() → ffi::Array<ffi::Uint8>;
|
|
@#C3
|
|
external set a0(ffi::Array<ffi::Uint8> #externalFieldValue) → void;
|
|
}
|
|
static method main() → dynamic {}
|
|
|
|
constants {
|
|
#C1 = 8
|
|
#C2 = null
|
|
#C3 = ffi::_ArraySize<ffi::NativeType*> {dimension1:#C1, dimension2:#C2, dimension3:#C2, dimension4:#C2, dimension5:#C2, dimensions:#C2}
|
|
}
|
|
|
|
|
|
Constructor coverage from constants:
|
|
org-dartlang-testcase:///ffi_struct_inline_array.dart:
|
|
- _ArraySize. (from org-dartlang-sdk:///sdk/lib/ffi/ffi.dart:136:9)
|
|
- Object. (from org-dartlang-sdk:///sdk/lib/core/object.dart:25:9)
|