Commit Graph

3 Commits

Author SHA1 Message Date
Anthony Latsis
1ce2c8ead4 Gardening: Migrate test suite to GH issues: NameLookup 2022-09-02 01:44:24 +03:00
Slava Pestov
d042cdb854 Sema: Diagnose invalid CustomAttrs using type resolution
Now that directReferencesForTypeRepr() no longer returns
ambiguous results, move the special ambiguity diagnostic out
of CustomAttrNominalRequest::evaluate(), and instead
diagnose these situations in TypeCheckAttr.cpp.

Special-case the 'unknown type' diagnostic though, to report
'unknown attribute' in the common case where the name lookup
failed.
2021-09-06 23:35:19 -04:00
Suyash Srijan
172c4be02d [Sema] Diagnose use of ambiguous property wrappers (#33688) 2020-08-29 02:38:42 +01:00