You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fc6cb0a
Browse filesBrowse the repository at this point in the historyBrowse files
r"""Field '#name' requires exactly one annotation to declare its C++ type, which cannot be Void. dart:ffi structs (Pointer<Void>) cannot have regular Dart fields.""",
3702
+
r"""Field '#name' requires exactly one annotation to declare its C++ type, which cannot be Void. dart:ffi Structs cannot have regular Dart fields.""",
3678
3703
withArguments: _withArgumentsFfiFieldAnnotation);
3679
3704
3680
3705
// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
"""Field '${name}' requires exactly one annotation to declare its C++ type, which cannot be Void. dart:ffi structs (Pointer<Void>) cannot have regular Dart fields.""",
3718
+
"""Field '${name}' requires exactly one annotation to declare its C++ type, which cannot be Void. dart:ffi Structs cannot have regular Dart fields.""",
Copy file name to clipboardExpand all lines: pkg/front_end/messages.yaml
+13-3Lines changed: 13 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -3459,7 +3459,7 @@ FfiTypeUnsized:
3459
3459
3460
3460
FfiFieldAnnotation:
3461
3461
# Used by dart:ffi
3462
-
template: "Field '#name' requires exactly one annotation to declare its C++ type, which cannot be Void. dart:ffi structs (Pointer<Void>) cannot have regular Dart fields."
3462
+
template: "Field '#name' requires exactly one annotation to declare its C++ type, which cannot be Void. dart:ffi Structs cannot have regular Dart fields."
3463
3463
external: test/ffi_test.dart
3464
3464
3465
3465
FfiNotStatic:
@@ -3472,9 +3472,19 @@ FfiFieldInitializer:
3472
3472
template: "Field '#name' is a dart:ffi Pointer to a struct field and therefore cannot be initialized before constructor execution."
3473
3473
external: test/ffi_test.dart
3474
3474
3475
-
FfiStructAnnotation:
3475
+
FfiExtendsOrImplementsSealedClass:
3476
3476
# Used by dart:ffi
3477
-
template: "Class '#name' is a dart:ffi Pointer but has no struct annotation. Only struct Pointers can have fields."
3477
+
template: "Class '#name' cannot be extended or implemented."
3478
+
external: test/ffi_test.dart
3479
+
3480
+
FfiStructGeneric:
3481
+
# Used by dart:ffi
3482
+
template: "Struct '#name' should not be generic."
3483
+
external: test/ffi_test.dart
3484
+
3485
+
FfiWrongStructInheritance:
3486
+
# Used by dart:ffi
3487
+
template: "Struct '#name' must inherit from 'Struct<#name>'."
0 commit comments