swift
[PropertyWrappers] Look for constructors with default args when finding default init
#27253
Merged

[PropertyWrappers] Look for constructors with default args when finding default init #27253

theblixguy merged 8 commits into swiftlang:master from fix/SR-11477
theblixguy
theblixguy theblixguy requested a review from DougGregor DougGregor 6 years ago
theblixguy theblixguy changed the title [PropertyWrappers] Look for constructors with default values when finding default init [PropertyWrappers] Look for constructors with default args when finding default init 6 years ago
theblixguy
theblixguy
theblixguy
DougGregor
DougGregor requested changes on 2019-09-20
theblixguy
DougGregor
theblixguy
natecook1000
natecook1000 commented on 2019-09-25
DougGregor
DougGregor commented on 2019-09-25
theblixguy
DougGregor
DougGregor commented on 2019-09-25
theblixguy
theblixguy theblixguy requested a review from DougGregor DougGregor 6 years ago
theblixguy
theblixguy
DougGregor
DougGregor approved these changes on 2019-10-11
DougGregor
DougGregor
theblixguy [PropertyWrappers] Allow constructors with default arguments to be fo…
ab31a0d3
theblixguy [PropertyWrappers] Check for a generic constructor and also remove th…
22bbaea6
theblixguy [PropertyWrappers] Try to find the best default value initializer if …
e41d1efb
theblixguy [Test] Add a test to verify which best init is chosen
7e31d7a7
theblixguy [PropertyWrappers] Merge 'findDefaultInit' and 'findInitialValueInit'…
370f47c2
theblixguy [PropertyWrappers] Add an 'hasExtraneousParam' parameter to simplify …
e23b3738
theblixguy [PropertyWrappers] Re-introduce valueVarType which got removed while …
cb54be26
theblixguy [PropertyWrappers] We won't have a valueVar when looking for a defaul…
162f86fd
theblixguy
theblixguy
theblixguy
theblixguy theblixguy merged a9588b33 into master 6 years ago
theblixguy theblixguy deleted the fix/SR-11477 branch 6 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone