swift
3b7ff196 - Sema: Loosen the decl more available than enclosing diagnostic.

Commit
139 days ago
Sema: Loosen the decl more available than enclosing diagnostic. Downgrade the `cannot be more available than enclosing scope` error to a warning when the attribute making the decl too available is specified for a less specific platform. Resolves rdar://143423070.
Author
Committer
Parents
  • lib/Sema
    • File
      TypeCheckAttr.cpp
  • test/attr
    • File
      attr_availability_maccatalyst.swift