-
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.
Coverage: Do not lift applications of context functions
closes lampepfl#16502
- Loading branch information
1 parent
4c77f62
commit 3e7dae8
Showing
3 changed files
with
109 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
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,8 @@ | ||
import scala.concurrent.* | ||
|
||
def asyncSum: ExecutionContext ?=> Future[Int] = Future(1) | ||
|
||
@main | ||
def Test(): Unit = | ||
import scala.concurrent.ExecutionContext.Implicits.global | ||
asyncSum |
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,88 @@ | ||
# Coverage data, format version: 3.0 | ||
# Statement data: | ||
# - id | ||
# - source path | ||
# - package name | ||
# - class name | ||
# - class type (Class, Object or Trait) | ||
# - full class name | ||
# - method name | ||
# - start offset | ||
# - end offset | ||
# - line number | ||
# - symbol name | ||
# - tree name | ||
# - is branch | ||
# - invocations count | ||
# - is ignored | ||
# - description (can be multi-line) | ||
# '' sign | ||
# ------------------------------------------ | ||
0 | ||
i16502.scala | ||
<empty> | ||
i16502$package$ | ||
Object | ||
<empty>.i16502$package$ | ||
$anonfun | ||
76 | ||
85 | ||
2 | ||
apply | ||
Apply | ||
false | ||
0 | ||
false | ||
Future(1) | ||
|
||
1 | ||
i16502.scala | ||
<empty> | ||
i16502$package$ | ||
Object | ||
<empty>.i16502$package$ | ||
asyncSum | ||
27 | ||
39 | ||
2 | ||
asyncSum | ||
DefDef | ||
false | ||
0 | ||
false | ||
def asyncSum | ||
|
||
2 | ||
i16502.scala | ||
<empty> | ||
i16502$package$ | ||
Object | ||
<empty>.i16502$package$ | ||
Test | ||
174 | ||
182 | ||
7 | ||
apply | ||
Apply | ||
false | ||
0 | ||
false | ||
asyncSum | ||
|
||
3 | ||
i16502.scala | ||
<empty> | ||
i16502$package$ | ||
Object | ||
<empty>.i16502$package$ | ||
Test | ||
87 | ||
101 | ||
5 | ||
Test | ||
DefDef | ||
false | ||
0 | ||
false | ||
@main\ndef Test | ||
|