From e0a8ffe88740995150fa7ca58797a4cceed3169f Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Wed, 7 Sep 2016 14:17:35 -0700 Subject: assorted typo fixes, cleanup, updating of comments just in time for Halloween. "boostrap" is definitely the most adorable typo evah -- and one of the most common, too. but we don't want to scare anybody. --- src/interactive/scala/tools/nsc/interactive/CompilerControl.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/interactive/scala/tools') diff --git a/src/interactive/scala/tools/nsc/interactive/CompilerControl.scala b/src/interactive/scala/tools/nsc/interactive/CompilerControl.scala index cb12cebc49..462f4432cd 100644 --- a/src/interactive/scala/tools/nsc/interactive/CompilerControl.scala +++ b/src/interactive/scala/tools/nsc/interactive/CompilerControl.scala @@ -101,11 +101,11 @@ trait CompilerControl { self: Global => * the given sources at the head of the list of to-be-compiled sources. */ def askReload(sources: List[SourceFile], response: Response[Unit]) = { - val superseeded = scheduler.dequeueAll { + val superseded = scheduler.dequeueAll { case ri: ReloadItem if ri.sources == sources => Some(ri) case _ => None } - superseeded.foreach(_.response.set(())) + superseded.foreach(_.response.set(())) postWorkItem(new ReloadItem(sources, response)) } -- cgit v1.2.3