File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
library/src/scala/tasty/util Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ class ShowSourceCode[T <: Tasty with Singleton](tasty0: T) extends Show[T](tasty
68
68
printDefAnnotations(cdef)
69
69
70
70
val flags = cdef.flags
71
+ if (flags.isImplicit) this += " implicit "
71
72
if (flags.isFinal && ! flags.isObject) this += " final "
72
73
if (flags.isCase) this += " case "
73
74
@@ -157,6 +158,7 @@ class ShowSourceCode[T <: Tasty with Singleton](tasty0: T) extends Show[T](tasty
157
158
printDefAnnotations(vdef)
158
159
159
160
val flags = vdef.flags
161
+ if (flags.isImplicit) this += " implicit "
160
162
if (flags.isOverride) this += " override "
161
163
162
164
if (flags.isLazy) this += " lazy "
@@ -210,7 +212,8 @@ class ShowSourceCode[T <: Tasty with Singleton](tasty0: T) extends Show[T](tasty
210
212
printDefAnnotations(ddef)
211
213
212
214
val flags = ddef.flags
213
- if (flags.isOverride) sb.append(" override " )
215
+ if (flags.isImplicit) this += " implicit "
216
+ if (flags.isOverride) this += " override "
214
217
215
218
this += " def " += name
216
219
printTargsDefs(targs)
You can’t perform that action at this time.
0 commit comments