square / square/workflow-swift
calling `onOutput` on a Workflow may never produce a value whose type can be inferred
Open
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 373
- Forks
- 46
- Avg merge
- 6h 38m
- Merged PRs (30d)
- 3
Description
for example, try splitting this expression into 2 parts. the compiler complains that the first expression's type is ambiguous without an annotation. it would be preferable if this behavior could be avoided.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Workflow/Tests/AnyWorkflowTests.swift around lines 133–138 and reproduce the linked expression after splitting it into two parts. Investigate why the first expression's type is ambiguous, then verify that the split form can infer its type without an annotation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100