-
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 #13192 from KacperFKorban/scaladoc/fix-13148
Empty argument list is not shown in scaladoc in some cases
- Loading branch information
Showing
2 changed files
with
30 additions
and
2 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,27 @@ | ||
package tests.emptyparens | ||
|
||
class C { | ||
def f1()(implicit i: Int) = i | ||
|
||
def f2()(using i: Int) = i | ||
|
||
def f3(s: String)(implicit i: Int) = i | ||
|
||
def f4(s: String)(using i: Int) = i | ||
|
||
def f5()()(using i: Int) = i | ||
|
||
def f6() = 1 | ||
|
||
def f7()() = 2 | ||
|
||
def f8(i: Int)() = 1 | ||
} | ||
|
||
class C1()(implicit i: Int) | ||
|
||
class C2()(using i: Int) | ||
|
||
class C3()() | ||
|
||
class C4()(i: Int) |
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