Skip to content

Commit

Permalink
add positioning information for application object
Browse files Browse the repository at this point in the history
  • Loading branch information
soronpo committed Aug 28, 2024
1 parent a21c6ea commit 568b363
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugin/src/main/scala/plugin/TopAnnotPhase.scala
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ class TopAnnotPhase(setting: Setting) extends CommonPhase:
Touched,
Touched | NoInits,
List(defn.ObjectType, appTpe),
Scopes.newScope
Scopes.newScope,
coord = topAnnotTree.span,
compUnitInfo = clsSym.compUnitInfo
)
val moduleCls = dfApp.moduleClass.asClass
if (template.constr.paramss.length > 1)
Expand Down

0 comments on commit 568b363

Please sign in to comment.