Skip to content

Commit

Permalink
chore: Fix doc link in clauseInterleaving docstring (scala#20590)
Browse files Browse the repository at this point in the history
The `See also` section in the `clauseInterleaving`
[scaladoc](https://dotty.epfl.ch/api/scala/runtime/stdLibPatches/language$$experimental$$clauseInterleaving$.html)
was pointing to the wrong link.
  • Loading branch information
KacperFKorban authored Jun 25, 2024
2 parents 3bd31c0 + 85dcdc4 commit b3f113e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/src/scala/runtime/stdLibPatches/language.scala
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ object language:
/** Adds support for clause interleaving:
* Methods can now have as many type clauses as they like, this allows to have type bounds depend on terms: `def f(x: Int)[A <: x.type]: A`
*
* @see [[http://dotty.epfl.ch/docs/reference/other-new-features/explicit-nulls.html]]
* @see [[https://github.com/scala/improvement-proposals/blob/main/content/clause-interleaving.md]]
*/
@compileTimeOnly("`clauseInterleaving` can only be used at compile time in import statements")
object clauseInterleaving
Expand Down

0 comments on commit b3f113e

Please sign in to comment.