File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
dottydoc/src/dotty/tools/dottydoc/model Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,10 @@ trait ParamList {
57
57
def isImplicit : Boolean
58
58
}
59
59
60
+ trait ImplicitlyAddedEntity extends Entity {
61
+ def implicitlyAddedFrom : Option [Reference ]
62
+ }
63
+
60
64
trait Package extends Entity with Members {
61
65
val kind = " package"
62
66
@@ -79,15 +83,13 @@ trait Object extends Entity with Modifiers with SuperTypes with Members {
79
83
override val kind = " object"
80
84
}
81
85
82
- trait Def extends Entity with Modifiers with TypeParams with ReturnValue {
86
+ trait Def extends Entity with Modifiers with TypeParams with ReturnValue with ImplicitlyAddedEntity {
83
87
val kind = " def"
84
88
def paramLists : List [ParamList ]
85
- def implicitlyAddedFrom : Option [Reference ]
86
89
}
87
90
88
- trait Val extends Entity with Modifiers with ReturnValue {
91
+ trait Val extends Entity with Modifiers with ReturnValue with ImplicitlyAddedEntity {
89
92
val kind = " val"
90
- def implicitlyAddedFrom : Option [Reference ]
91
93
}
92
94
93
95
trait Var extends Entity with Modifiers with ReturnValue {
You can’t perform that action at this time.
0 commit comments