File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
compiler/src/dotty/tools/dotc/typer Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -122,12 +122,13 @@ class FrontEnd extends Phase {
122
122
|
123
123
| ${suspendedUnits.toList}%, %
124
124
| """
125
+ val enableXprintSuspensionHint =
126
+ if (ctx.settings.XprintSuspension .value) " "
127
+ else " \n\n Compiling with -Xprint-suspension gives more information."
125
128
ctx.error(em """ Cyclic macro dependencies $where
126
129
|Compilation stopped since no further progress can be made.
127
130
|
128
- |To fix this, place macros in one set of files and their callers in another.
129
- |
130
- |Compiling with -Xprint-suspension gives more information. """ )
131
+ |To fix this, place macros in one set of files and their callers in another. $enableXprintSuspensionHint""" )
131
132
newUnits
132
133
}
133
134
You can’t perform that action at this time.
0 commit comments