2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 13:22:11 +00:00

Improve error message

[SVN r49710]
This commit is contained in:
Vladimir Prus
2008-11-13 07:07:10 +00:00
parent 9cd73d1dba
commit 5060ca2bcb

View File

@@ -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 <toolset>gcc <os>NT <os>CYGWIN ;
catch "Ambiguous key" ;
catch "Ambiguous key <toolset>gcc <os>NT <os>CYGWIN" ;
# Test ordinary properties.
assert.result : split-conditional <toolset>gcc ;