swift
[CSApply] Don't diagnose a 'static let none' as ambiguous none unless its an enum type
#27382
Merged

[CSApply] Don't diagnose a 'static let none' as ambiguous none unless its an enum type #27382

theblixguy merged 7 commits into swiftlang:master from fix/SR-11522
theblixguy
theblixguy [CSApply] Don't diagnose a 'static let none' as ambiguous none unless…
8d869e6f
theblixguy theblixguy requested a review from xedin xedin 6 years ago
theblixguy theblixguy requested a review from jrose-apple jrose-apple 6 years ago
jrose-apple
jrose-apple commented on 2019-09-26
beccadax
beccadax requested changes on 2019-09-26
theblixguy [CSApply] Filter out functions and instance members before the ambigu…
25e1bb5a
theblixguy [CSApply] Compare variable's type with the base type of the enum we'r…
aa565f55
beccadax
beccadax commented on 2019-09-26
jrose-apple
jrose-apple commented on 2019-09-27
theblixguy [CSApply] Move the variable type check into the lookup filter call
0a39e7db
theblixguy [Test] Add a FIXME next to a test case that should be diagnosed
389232ac
theblixguy
jrose-apple
jrose-apple commented on 2019-09-27
theblixguy [CSApply] Filtering 'none' results should filter out any other decl (…
2de47555
theblixguy [Test] Add some more tests around edge cases
b3d79625
jrose-apple
jrose-apple approved these changes on 2019-09-27
theblixguy
beccadax
beccadax approved these changes on 2019-09-28
theblixguy
theblixguy theblixguy merged ad4d6238 into master 6 years ago
theblixguy theblixguy deleted the fix/SR-11522 branch 6 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone