-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13191 from KacperFKorban/scaladoc/fix-12813
ScalaDoc : type parameter in extension method is wrong
- Loading branch information
Showing
7 changed files
with
144 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package tests.extensionParams | ||
|
||
extension [A](thiz: A) | ||
def toTuple2[B](that: B): (A, B) = thiz -> that | ||
|
||
extension [A](a: A)(using Int) | ||
def f[B](b: B): (A, B) = ??? | ||
|
||
extension [A](a: A)(using Int) | ||
def ff(b: A): (A, A) = ??? | ||
|
||
extension [A](a: A)(using Int) | ||
def fff(using String)(b: A): (A, A) = ??? | ||
|
||
extension (a: Char)(using Int) | ||
def ffff(using String)(b: Int): Unit = ??? | ||
|
||
extension (a: Char)(using Int) | ||
def fffff[B](using String)(b: B): Unit = ??? | ||
|
||
extension [A <: List[Char]](a: A)(using Int) | ||
def ffffff[B](b: B): (A, B) = ??? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters