Files
swift-mirror/test/Parse/closure-missing-in.swift
Kwiky 164887b27d [Parse] Diagnose missing 'in' after closure signature
Teach the parser to recognize a top-level '->' in a closure as a signature and
produce a targeted diagnostic ("expected 'in' after the closure signature")
instead of treating it as a type expression.

Adds a parser test:
  - test/Parse/closure-missing-in.swift

Updates existing test with the new diagnostic:
  - test/Parse/type_expr.swift

Resolves: swiftlang/swift#59928
2025-10-03 20:42:19 +02:00

658 B