Commit Graph

16 Commits

Author SHA1 Message Date
Robert Widmann
847930bfb7 Don't Force the Interface Type While Checking Sendable
Asking for Sendable conformances on this path is going to lead to
a traversal of the stored properties of the type. If there is an
interface type computation ongoing, as is very likely the case, this
traversal can wind up causing a cycle when it forces the interface type
of a member once again.

Request only the non-structural conformances to break the cycle.

rdar://77189542
2021-04-29 13:11:32 -07:00
Doug Gregor
cdb7de19bf [Concurrency] References to global-actor functions have global-actor-qualified type.
When referencing a function that is on a global actor, e.g.,

    @MainActor func doSomething() -> Int

the result of that reference is a global-actor-qualified function type, e.g.,

    @MainActor () -> Int

Part of rdar://76030136.
2021-04-16 00:26:39 -07:00
Miguel Salinas
9090d7fb01 add test 2019-10-28 18:17:24 -05:00
Miguel Salinas
9cc2d65bb0 refine test 2019-10-22 17:07:00 -05:00
Miguel Salinas
67cd80977d Revert "Revert "add more tests""
This reverts commit 4250d7fde0.
2019-10-22 17:00:25 -05:00
Miguel Salinas
1da9215a2f Revert "Revert "fix tests""
This reverts commit b7e059d4af.
2019-10-22 17:00:22 -05:00
Miguel Salinas
b276a7e7cd Revert "Revert "test more cases""
This reverts commit f7f908678e.
2019-10-22 17:00:18 -05:00
Miguel Salinas
f7f908678e Revert "test more cases"
This reverts commit 06c057136e.
2019-10-08 08:48:19 -05:00
Miguel Salinas
b7e059d4af Revert "fix tests"
This reverts commit c6063b2171.
2019-10-08 08:47:55 -05:00
Miguel Salinas
4250d7fde0 Revert "add more tests"
This reverts commit 2d5438d7c1.
2019-10-08 08:47:51 -05:00
Miguel Salinas
2d5438d7c1 add more tests 2019-10-08 08:20:51 -05:00
Miguel Salinas
c6063b2171 fix tests 2019-10-08 07:43:28 -05:00
Miguel Salinas
06c057136e test more cases 2019-10-01 16:16:13 -05:00
Miguel Salinas
2104984cfd more unit test cases 2019-09-21 17:03:45 -05:00
Miguel Salinas
a665524709 fix test 2019-09-18 11:17:45 -05:00
Miguel Salinas
1a5a47f540 warn on empty OptionSet static constants 2019-09-05 19:25:19 -05:00