Earlier, we would replace the subproject option with the parent project's option, which is incorrect if the types are not the same. Now we retain the subproject's option and print a warning. It's not advisable to issue an error in this case because subproject option yielding is involuntary for the parent project (option names can match because of coincidences).pull/3906/head
parent
28754ea621
commit
219dec39c0
5 changed files with 20 additions and 5 deletions
@ -1,2 +1,3 @@ |
||||
option('unshared_option', type : 'string', value : 'one') |
||||
option('shared_option', type : 'string', value : 'two') |
||||
option('wrongtype_option', type : 'string', value : 'three') |
||||
|
@ -1,2 +1,3 @@ |
||||
option('unshared_option', type : 'string', value : 'three', yield : false) |
||||
option('shared_option', type : 'string', value : 'four', yield : true) |
||||
option('wrongtype_option', type : 'boolean', value : true, yield : true) |
||||
|
Loading…
Reference in new issue