File tree 2 files changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/typer 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -847,7 +847,7 @@ trait Applications extends Compatibility { self: Typer with Dynamic =>
847
847
def followTypeAlias (tree : untpd.Tree ): untpd.Tree = {
848
848
tree match {
849
849
case tree : untpd.RefTree =>
850
- val nestedCtx = ctx.fresh.setNewTyperState
850
+ val nestedCtx = ctx.fresh.setNewTyperState()
851
851
val ttree =
852
852
typedType(untpd.rename(tree, tree.name.toTypeName))(nestedCtx)
853
853
ttree.tpe match {
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ object Inferencing {
31
31
* Variables that are successfully minimized do not count as uninstantiated.
32
32
*/
33
33
def isFullyDefined (tp : Type , force : ForceDegree .Value )(implicit ctx : Context ): Boolean = {
34
- val nestedCtx = ctx.fresh.setNewTyperState
34
+ val nestedCtx = ctx.fresh.setNewTyperState()
35
35
val result = new IsFullyDefinedAccumulator (force)(nestedCtx).process(tp)
36
36
if (result) nestedCtx.typerState.commit()
37
37
result
You can’t perform that action at this time.
0 commit comments