Skip to content

Commit 0ead5e8

Browse files
committed
Make NoContext#base a def.
As it throws an unsupported error.
1 parent 923da63 commit 0ead5e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotty/tools/dotc/core/Contexts.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ object Contexts {
137137
}
138138

139139
object NoContext extends Context {
140-
val base = unsupported("base")
140+
def base = unsupported("base")
141141
}
142142

143143
class ContextBase extends ContextState with Transformers.TransformerBase

0 commit comments

Comments
 (0)