square / square/workflow-swift

calling `onOutput` on a Workflow may never produce a value whose type can be inferred

Open
#284 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.