File tree 3 files changed +5
-2
lines changed
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change
1
+ ## 6.4.1
2
+ * Patch for crash in ffi_verifier.
3
+
1
4
## 6.3.0
2
5
* Updated the current language version to ` 3.3 ` .
3
6
* Removed generated ` ConstantEvaluator ` .
Original file line number Diff line number Diff line change @@ -1625,7 +1625,7 @@ class FfiVerifier extends RecursiveAstVisitor<void> {
1625
1625
/// Validate the invocation of the extension method
1626
1626
/// `Pointer<T extends Struct>.ref` .
1627
1627
void _validateRefPrefixedIdentifier (PrefixedIdentifier node) {
1628
- var targetType = node.prefix.typeOrThrow ;
1628
+ var targetType = node.prefix.staticType ;
1629
1629
if (! _isValidFfiNativeType (targetType,
1630
1630
allowVoid: false , allowEmptyStruct: true )) {
1631
1631
final AstNode errorNode = node;
Original file line number Diff line number Diff line change 1
1
name : analyzer
2
- version : 6.4.0
2
+ version : 6.4.1
3
3
description : >-
4
4
This package provides a library that performs static analysis of Dart code.
5
5
repository : https://github.com/dart-lang/sdk/tree/main/pkg/analyzer
You can’t perform that action at this time.
0 commit comments