swift
[Typechecker] Warn when casting a function type to an existential or archetype type
#22822
Merged

[Typechecker] Warn when casting a function type to an existential or archetype type #22822

slavapestov merged 4 commits into swiftlang:master from fix/SR-6022
theblixguy
theblixguy
slavapestov
slavapestov commented on 2019-02-22
theblixguy
slavapestov
jrose-apple
jrose-apple jrose-apple requested a review from xedin xedin 6 years ago
theblixguy
theblixguy
[typechecker] add warning for unrelated downcast from function type t…
f2804fcd
theblixguy theblixguy changed the title [typechecker] warn when casting a function type to an existential or archetype type [Typechecker] Warn when casting a function type to an existential or archetype type 6 years ago
theblixguy [test] update test case
77300c37
jrose-apple
theblixguy
theblixguy
slavapestov
slavapestov commented on 2019-03-05
slavapestov
slavapestov approved these changes on 2019-03-05
Merge branch 'master' into fix/SR-6022
a2460b88
[typechecker] use castTo() instead of getAs()
a493934c
theblixguy
xedin
swift-ci
swift-ci
theblixguy
slavapestov
theblixguy
slavapestov slavapestov merged 2e2c12f9 into master 6 years ago
slavapestov
slavapestov commented on 2019-03-07
theblixguy theblixguy deleted the fix/SR-6022 branch 6 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone