We currently only check that for types with value mode being value.
Created attachment 624065 [details] [diff] [review]
Tests will come with bug 754668 (I saw that bug while writings tests for bug 754668 ;))
Comment on attachment 624065 [details] [diff] [review]
I had to fix a test in the patch I pushed and other tests will come with bug 754668.
Please follow the tree rules when landing on inbound (posting a changeset link, setting target milestone, etc.)