aboutsummaryrefslogtreecommitdiffstats
path: root/share/qbs/imports/qbs/Probes/path-probe.js
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2015-11-25 12:16:16 +0100
committerChristian Kandeler <christian.kandeler@theqtcompany.com>2015-12-01 09:16:18 +0000
commitd3897b2220d99fe2011972ea806c7433771f59fe (patch)
tree702bf6bdf5e295ac9ae9c71786df7055baf94265 /share/qbs/imports/qbs/Probes/path-probe.js
parent08502c90134eee224f2aa872063d40c01e5bf5fb (diff)
Disallow modules where one's name equals the other's first component.
That's just asking for trouble. For instance, in the existing TestLanguage::modules() autotest, debugging revealed that the expression "dummy.deep.moat.depth" on the rhs of a property in the product was leading to an item value property "deep" being created in the module "dummy", which is highly unexpected and could lead to serious problems in a more complex project. While it would perhaps be possible to support this kind of stuff properly, the whole idea seems dubious to begin with and I do not think it is worth the non-negligible effort that would have to be spent there. Change-Id: Ie938c99d24990f23e8dd73f70026f94f3bc5e4a0 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'share/qbs/imports/qbs/Probes/path-probe.js')
0 files changed, 0 insertions, 0 deletions