diff --git a/v2/build/property.jam b/v2/build/property.jam index 5ee66af32..b42dd34fd 100644 --- a/v2/build/property.jam +++ b/v2/build/property.jam @@ -609,8 +609,8 @@ class property-map local best = [ sequence.select-highest-ranked $(matches) : $(match-ranks) ] ; if $(best[2]) - { - errors.error "Ambiguous key" ; + { + errors.error "Ambiguous key" $(properties) ; } local original = $(self.value.$(best)) ; if $(value) @@ -736,7 +736,7 @@ rule __test__ ( ) try ; $(pm).find gcc NT CYGWIN ; - catch "Ambiguous key" ; + catch "Ambiguous key gcc NT CYGWIN" ; # Test ordinary properties. assert.result : split-conditional gcc ;