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
6868 printDefAnnotations(cdef)
6969
7070 val flags = cdef.flags
71+ if (flags.isImplicit) this += " implicit "
7172 if (flags.isFinal && ! flags.isObject) this += " final "
7273 if (flags.isCase) this += " case "
7374
@@ -157,6 +158,7 @@ class ShowSourceCode[T <: Tasty with Singleton](tasty0: T) extends Show[T](tasty
157158 printDefAnnotations(vdef)
158159
159160 val flags = vdef.flags
161+ if (flags.isImplicit) this += " implicit "
160162 if (flags.isOverride) this += " override "
161163
162164 if (flags.isLazy) this += " lazy "
@@ -210,7 +212,8 @@ class ShowSourceCode[T <: Tasty with Singleton](tasty0: T) extends Show[T](tasty
210212 printDefAnnotations(ddef)
211213
212214 val flags = ddef.flags
213- if (flags.isOverride) sb.append(" override " )
215+ if (flags.isImplicit) this += " implicit "
216+ if (flags.isOverride) this += " override "
214217
215218 this += " def " += name
216219 printTargsDefs(targs)
You can’t perform that action at this time.
0 commit comments