Skip to content

Commit

Permalink
Fix bridge class name reporting in the debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
makkarpov committed Aug 12, 2024
1 parent c8e8509 commit c4a2aa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generic/src/main/scala/CompilerBridge.scala
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ object CompilerBridge {

val settings = q.reflect.CompilationInfo.XmacroSettings
if (settings.contains("mx.m-k.explicits.debug")) {
val className = classOf[CompilerBridge].getName
val ownClassName = classOf[CompilerBridge].getName
val vMajor = selectedVersion / 1000
val vMinor = selectedVersion % 1000

report.info(s"$className: compiler version $versionString, using bridge class '$className' " +
report.info(s"$ownClassName: compiler version $versionString, using bridge class '$className' " +
s"(for version 3.$vMajor.$vMinor)")
}

Expand Down

0 comments on commit c4a2aa9

Please sign in to comment.