Skip to content

Commit

Permalink
Remove outdated documentation about Base.promote_noncircular, fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
JRedish authored and fredrikekre committed Jun 16, 2019
1 parent 092d695 commit 96008dc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions doc/src/manual/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -981,9 +981,7 @@ f(x, y) = f(promote(x, y)...)
One risk with this design is the possibility that if there is no
suitable promotion method converting `x` and `y` to the same type, the
second method will recurse on itself infinitely and trigger a stack
overflow. The non-exported function `Base.promote_noncircular` can be
used as an alternative; when promotion fails it will still throw an
error, but one that fails faster with a more specific error message.
overflow.

### Dispatch on one argument at a time

Expand Down

0 comments on commit 96008dc

Please sign in to comment.