[engine] Validate that variant_key of SelectVariant is string type

Review Request #4149 - Created Aug. 12, 2016 and submitted

Information
Nick Howard (Twitter)
pants
3772
Reviewers
pants-reviews
kwlzn, stuhood

If the variant_key isn't a string, it's better to fail on declaration rather than use.

Wrote a test for it and made it pass.

Kris Wilson
Stu Hood
Nick Howard (Twitter)
Nick Howard (Twitter)
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted as https://github.com/pantsbuild/pants/commit/3f0a02f84d34aea5d660410a1f7649589c6807ad
Loading...