Overwriting traits


So I’m trying to fix this bug on the raml-parser-js https://github.com/raml-org/raml-js-parser/issues/112.

Im supposing (havent found any info on the Spec about this) when a trait is defined, and later used on a resource (lets say queryParameter), if the property is redefined in the body of the resource, it should overwrite and completely replace the value for that particular property defined by the trait… is this correct?