8022676: Confusing error message checking instanceof non-class

Reviewed-by: jlaskey, sundar
This commit is contained in:
Michael Horowitz 2013-08-12 18:00:17 -03:00 committed by Jim Laskey
parent 084c96bb71
commit bf29c2ec49

View File

@ -100,7 +100,7 @@ type.error.regex.cant.supply.flags=Cannot supply flags when constructing one Reg
type.error.inconsistent.property.descriptor=inconsistent property descriptor
type.error.bad.default.value=bad default value: {0}
type.error.function.apply.expects.array=Function.prototype.apply expects an Array for second argument
type.error.instanceof.on.non.object=instanceof cannot be used on objects without [[HasInstance]]
type.error.instanceof.on.non.object=instanceof must be called with a javascript or java object as the right-hand argument
type.error.cannot.convert.to.interface=object {0} cannot be converted to {1} due to "{2}"
type.error.array.reduce.invalid.init=invalid initialValue for Array.prototype.reduce
type.error.array.reduceright.invalid.init=invalid initialValue for Array.prototype.reduceRight