-
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.
- Loading branch information
1 parent
3bd7293
commit b4c5ef5
Showing
3 changed files
with
83 additions
and
0 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,2 @@ | ||
1 | ||
6178 |
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,10 @@ | ||
// see issue 15835 | ||
import java.math.MathContext | ||
case class DecimalConf(mathContext: MathContext, scaleLimit: Int, digitsLimit: Int) | ||
object DecimalConf extends DecimalConf(MathContext.UNLIMITED, 6178, 308) | ||
|
||
@main | ||
def Test: Unit = | ||
val c = DecimalConf(MathContext.DECIMAL32, 1, 0) | ||
println(c.scaleLimit) | ||
println(DecimalConf.scaleLimit) |
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,71 @@ | ||
# 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 | ||
extend-case-class/test.scala | ||
<empty> | ||
test$package$ | ||
Object | ||
<empty>.test$package$ | ||
Test | ||
282 | ||
303 | ||
8 | ||
println | ||
Apply | ||
false | ||
0 | ||
false | ||
println(c.scaleLimit) | ||
|
||
1 | ||
extend-case-class/test.scala | ||
<empty> | ||
test$package$ | ||
Object | ||
<empty>.test$package$ | ||
Test | ||
306 | ||
337 | ||
9 | ||
println | ||
Apply | ||
false | ||
0 | ||
false | ||
println(DecimalConf.scaleLimit) | ||
|
||
2 | ||
extend-case-class/test.scala | ||
<empty> | ||
test$package$ | ||
Object | ||
<empty>.test$package$ | ||
Test | ||
206 | ||
220 | ||
6 | ||
Test | ||
DefDef | ||
false | ||
0 | ||
false | ||
@main\ndef Test | ||
|