Skip to content

[pigeon] objc enum returns should be wrapped to make them nullable #135176

@tarrinneal

Description

@tarrinneal

During the implementation of primitive enums in flutter/packages#4580, non-nullable enum return values were incorrectly set as non-wrapped enums. This is incorrect as errors should result in a nil response and thus requires a wrapper to make the enum return value nullable.

Metadata

Metadata

Assignees

Labels

p: pigeonrelated to pigeon messaging codegen tool

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions