File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/typer Expand file tree Collapse file tree 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 =>
847847 def followTypeAlias (tree : untpd.Tree ): untpd.Tree = {
848848 tree match {
849849 case tree : untpd.RefTree =>
850- val nestedCtx = ctx.fresh.setNewTyperState
850+ val nestedCtx = ctx.fresh.setNewTyperState()
851851 val ttree =
852852 typedType(untpd.rename(tree, tree.name.toTypeName))(nestedCtx)
853853 ttree.tpe match {
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ object Inferencing {
3131 * Variables that are successfully minimized do not count as uninstantiated.
3232 */
3333 def isFullyDefined (tp : Type , force : ForceDegree .Value )(implicit ctx : Context ): Boolean = {
34- val nestedCtx = ctx.fresh.setNewTyperState
34+ val nestedCtx = ctx.fresh.setNewTyperState()
3535 val result = new IsFullyDefinedAccumulator (force)(nestedCtx).process(tp)
3636 if (result) nestedCtx.typerState.commit()
3737 result
You can’t perform that action at this time.
0 commit comments