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._
16
16
import config .{SourceVersion , Feature }
17
17
import StdNames .nme
18
18
import scala .annotation .internal .sharable
19
+ import scala .util .control .NoStackTrace
19
20
import transform .MacroAnnotations
20
21
21
22
class CompilationUnit protected (val source : SourceFile ) {
@@ -105,7 +106,7 @@ class CompilationUnit protected (val source: SourceFile) {
105
106
106
107
object CompilationUnit {
107
108
108
- class SuspendException extends Exception
109
+ class SuspendException extends Exception with NoStackTrace
109
110
110
111
/** Make a compilation unit for top class `clsd` with the contents of the `unpickled` tree */
111
112
def apply (clsd : ClassDenotation , unpickled : Tree , forceTrees : Boolean )(using Context ): CompilationUnit =
You can’t perform that action at this time.
0 commit comments