-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed positions in named default applications (no hyperlinking in con…
…junction with implicit arguments). Removed even more code in the presentation compiler testing infrastructure. One less level of indirection, and a top-level object gone!
- Loading branch information
Showing
9 changed files
with
46 additions
and
36 deletions.
There are no files selected for viewing
28 changes: 0 additions & 28 deletions
28
src/compiler/scala/tools/nsc/interactive/tests/core/FindOccurrences.scala
This file was deleted.
Oops, something went wrong.
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
12 changes: 11 additions & 1 deletion
12
test/files/presentation/patmat.check → test/files/presentation/hyperlinks.check
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
File renamed without changes.
File renamed without changes.
16 changes: 16 additions & 0 deletions
16
test/files/presentation/hyperlinks/src/NameDefaultTests.scala
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,16 @@ | ||
|
||
class NameDefaults { | ||
val someString = "abc" | ||
val someInt = 42 | ||
|
||
def foo(x: String, y: Int)(implicit logger: Int): Int = y | ||
|
||
implicit val l = 42 | ||
|
||
def bar { | ||
println() | ||
val someOtherInt = 10 | ||
|
||
foo(y = someOtherInt/*#*/, x = someString/*#*/) | ||
} | ||
} |
File renamed without changes.