Skip to content

Commit db825c4

Browse files
committed
Replace reserved word 'then' with 'thenn'
1 parent c6edb02 commit db825c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/scala/scala/async/internal/ExprBuilder.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -532,14 +532,14 @@ trait ExprBuilder {
532532
CaseDef(
533533
Bind(name.t, Typed(Ident(termNames.WILDCARD), Ident(defn.ThrowableClass))),
534534
EmptyTree, {
535-
val then = {
535+
val thenn = {
536536
val t = c.Expr[Throwable](Ident(name.t))
537537
val complete = futureSystemOps.completeProm[T](
538538
c.Expr[futureSystem.Prom[T]](symLookup.memberRef(name.result)), futureSystemOps.tryyFailure[T](t)).tree
539539
Block(toList(complete), Return(literalUnit))
540540
}
541-
If(Apply(Ident(defn.NonFatalClass), List(Ident(name.t))), then, Throw(Ident(name.t)))
542-
then
541+
If(Apply(Ident(defn.NonFatalClass), List(Ident(name.t))), thenn, Throw(Ident(name.t)))
542+
thenn
543543
})), EmptyTree)
544544
}
545545

0 commit comments

Comments
 (0)