Skip to content

Completion doesn't work in nested function in closure #77305

Closed
@hamishknight

Description

@hamishknight

The following doesn't produce any completions:

func withFoo(_ x: (Int) -> Void) {}

withFoo { foo in
  func bar() {
    foo.#^CC^#
  }
}

Metadata

Metadata

Assignees

Labels

bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.code completionArea → source tooling: code completion

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions