Wrong word in the manual?

Hello,

I’m just in the process of learning Julia and reading the manual, and in the section on promotion I noticed the following statement:

The most common usages of promote occur in outer constructors methods, provided for convenience, to allow constructor calls with mixed types to delegate to an inner type with fields promoted to an appropriate common type.

Should this read “[…] to delegate to an inner constructor” instead?

If so, it would be cool if someone could fix this for the next release; if not, it’d be equally cool if somebody could explain to me why “type” is in fact correct there and what the whole thing then means. Either way, thanks in advance!

All the best,
Chris

1 Like

I think it would be better “to construct an instance of the struct with fields promoted to an appropriate common type”

(ps: anyone can modify that and add pull request - the worst that can happen is the PR not being accepted)

2 Likes