8000 Fix documentation build by neko-kai · Pull Request #1171 · zio/zio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix documentation build #1171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 12, 2019
Merged

Fix documentation build #1171

merged 1 commit into from
Jul 12, 2019

Conversation

neko-kai
Copy link
Member
@neko-kai neko-kai commented Jul 12, 2019

Fix error on Circle:
https://circleci.com/gh/zio/zio/6083

[error] /home/circleci/project/core/shared/src/main/scala/zio/Schedule.scala:80:3: The link target "ZSchedule.doUntil" is ambiguous. Several members fit the target:
[error] [A, B](pf: PartialFunction[A,B]): zio.Schedule[A,Option[B]] in object ZSchedule [chosen]
[error] [A](f: A => Boolean): zio.Schedule[A,A] in object ZSchedule
[error] 
[error] 
[error] Quick crash course on using Scaladoc links
[error] ==========================================
[error] Disambiguating terms and types: Prefix terms with '$' and types with '!' in case both names are in use:
[error]  - [[scala.collection.immutable.List!.apply class List's apply method]] and
[error]  - [[scala.collection.immutable.List$.apply object List's apply method]]
[error] Disambiguating overloaded members: If a term is overloaded, you can indicate the first part of its signature followed by *:
[error]  - [[[scala.collection.immutable.List$.fill[A](Int)(⇒A):List[A]* Fill with a single parameter]]]
[error]  - [[[scala.collection.immutable.List$.fill[A](Int,Int)(⇒A):List[List[A]]* Fill with a two parameters]]]
[error] Notes:
[error]  - you can use any number of matching square brackets to avoid interference with the signature
[error]  - you can use \\. to escape dots in prefixes (don't forget to use * at the end to match the signature!)
[error]  - you can use \\# to escape hashes, otherwise they will be considered as delimiters, like dots.
[error]   /**
[error]   ^
[e
8000
rror] /home/circleci/project/core/shared/src/main/scala/zio/Schedule.scala:74:3: The link target "ZSchedule.doUntil" is ambiguous. Several members fit the target:
[error] [A, B](pf: PartialFunction[A,B]): zio.Schedule[A,Option[B]] in object ZSchedule [chosen]
[error] [A](f: A => Boolean): zio.Schedule[A,A] in object ZSchedule
[error] 
[error]   /**
[error]   ^
[error] two errors found

@neko-kai neko-kai requested review from iravid and softinio July 12, 2019 13:18
@iravid
Copy link
Member
iravid commented Jul 12, 2019

method overloading is evil

@neko-kai neko-kai merged commit 97794d9 into zio:master Jul 12, 2019
@neko-kai neko-kai deleted the feature/fix-doc branch July 12, 2019 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0