dart-lang / dart-lang/native

[ffigen] ObjC protocol methods with `ns_consumes_self`

Open
#1,493 0 comments 0 reactions 0 assignees View on GitHub
package:ffigen
Dominant language
Dart
Stars
275
Forks
144
Avg merge
2d 9h
Merged PRs (30d)
52

Description

Can ObjC protocol methods be annotated with `__attribute__((ns_consumes_self))`? How should we handle this edge case?

Contributor guide

Open the contributing guide

Research direction

Start with ffigen's Objective-C protocol handling and any existing tests for protocol method attributes. Determine whether ns_consumes_self is valid in this context and what behavior is intended; done means the behavior is decided and covered by an appropriate regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, objective-c
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.