Skip to content

Impure type arguments in user-written types is not boxed during CC setup #20169

Closed
@Linyxus

Description

@Linyxus

I checked the issue again and it turns out that actually the recent reproduction is completely a new one with a different cause. Another minimisation that is more salient:

def runOps(ops: List[() => Unit]): () -> Unit =
  () =>
    ops.foreach: op =>
      op()

Originally posted by @Linyxus in #16725 (comment)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions