swift
249c2a11 - Typecheck noasync attr

Commit
3 years ago
Typecheck noasync attr This patch adds validation to ensure that the noasync attribute is only applied to useful declarations. Specifically, the `noasync` attribute cannot be applied to `deinit` declarations, asynchronous functions, or asynchronous properties.
Author
Committer
Parents
  • lib/Sema
    • File
      TypeCheckAttr.cpp
  • test/attr
    • File
      attr_availability_noasync.swift