Skip to content

[vm/ffi] .ref of constant T error while it is constant #44782

@dcharkes

Description

@dcharkes

The analyzer complains about

final x = calloc<MyStruct>()..ref.a0 = 1;

that T of .ref is not constant, but it is, it is MyStruct.

Thanks @timsneath for reporting this.

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work onlegacy-area-analyzerUse area-devexp instead.library-ffi

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions