swift
07e69409 - [Diagnostics] Add a fix-it for misplaced throws in function types (#25306)

Commit
6 years ago
[Diagnostics] Add a fix-it for misplaced throws in function types (#25306) Adds a diagnostic error for misplaced throws in function types. For e.g: ```swift let fn: () -> throws Void // expected-error{{'throws' may only occur before '->'}} {{12-12=throws }} {{15-22=}} ``` Resolves SR-10703.
Author
Committer
Parents
Loading