File tree Expand file tree Collapse file tree 3 files changed +83
-0
lines changed
tests/coverage/run/extend-case-class Expand file tree Collapse file tree 3 files changed +83
-0
lines changed Original file line number Diff line number Diff line change 1+ 1
2+ 6178
Original file line number Diff line number Diff line change 1+ // see issue 15835
2+ import java .math .MathContext
3+ case class DecimalConf (mathContext : MathContext , scaleLimit : Int , digitsLimit : Int )
4+ object DecimalConf extends DecimalConf (MathContext .UNLIMITED , 6178 , 308 )
5+
6+ @ main
7+ def Test : Unit =
8+ val c = DecimalConf (MathContext .DECIMAL32 , 1 , 0 )
9+ println(c.scaleLimit)
10+ println(DecimalConf .scaleLimit)
Original file line number Diff line number Diff line change 1+ # Coverage data, format version: 3.0
2+ # Statement data:
3+ # - id
4+ # - source path
5+ # - package name
6+ # - class name
7+ # - class type (Class, Object or Trait)
8+ # - full class name
9+ # - method name
10+ # - start offset
11+ # - end offset
12+ # - line number
13+ # - symbol name
14+ # - tree name
15+ # - is branch
16+ # - invocations count
17+ # - is ignored
18+ # - description (can be multi-line)
19+ # '' sign
20+ # ------------------------------------------
21+ 0
22+ extend-case-class/test.scala
23+ <empty>
24+ test$package$
25+ Object
26+ <empty>.test$package$
27+ Test
28+ 282
29+ 303
30+ 8
31+ println
32+ Apply
33+ false
34+ 0
35+ false
36+ println(c.scaleLimit)
37+
38+ 1
39+ extend-case-class/test.scala
40+ <empty>
41+ test$package$
42+ Object
43+ <empty>.test$package$
44+ Test
45+ 306
46+ 337
47+ 9
48+ println
49+ Apply
50+ false
51+ 0
52+ false
53+ println(DecimalConf.scaleLimit)
54+
55+ 2
56+ extend-case-class/test.scala
57+ <empty>
58+ test$package$
59+ Object
60+ <empty>.test$package$
61+ Test
62+ 206
63+ 220
64+ 6
65+ Test
66+ DefDef
67+ false
68+ 0
69+ false
70+ @main\ndef Test
71+
You can’t perform that action at this time.
0 commit comments