Skip to content

Commit c7e0c3a

Browse files
oderskyallanrenucci
authored andcommitted
More () fixes
1 parent 8f3a44b commit c7e0c3a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/typer/Applications.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 {

compiler/src/dotty/tools/dotc/typer/Inferencing.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)