File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
compiler/src/dotty/tools/dotc Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import core.Decorators._
1616import config .{SourceVersion , Feature }
1717import StdNames .nme
1818import scala .annotation .internal .sharable
19+ import scala .util .control .NoStackTrace
1920import transform .MacroAnnotations
2021
2122class CompilationUnit protected (val source : SourceFile ) {
@@ -105,7 +106,7 @@ class CompilationUnit protected (val source: SourceFile) {
105106
106107object CompilationUnit {
107108
108- class SuspendException extends Exception
109+ class SuspendException extends Exception with NoStackTrace
109110
110111 /** Make a compilation unit for top class `clsd` with the contents of the `unpickled` tree */
111112 def apply (clsd : ClassDenotation , unpickled : Tree , forceTrees : Boolean )(using Context ): CompilationUnit =
You can’t perform that action at this time.
0 commit comments