diff options
author | Seth Tisue <seth@tisue.net> | 2016-09-07 14:17:35 -0700 |
---|---|---|
committer | Seth Tisue <seth@tisue.net> | 2016-10-24 17:45:52 -0700 |
commit | e0a8ffe88740995150fa7ca58797a4cceed3169f (patch) | |
tree | 79e2dade4a231364d2aedc8e8f8f0d0b034a87c4 /src/interactive | |
parent | 501c21260cff006e7cf2e79739d8319c4dc79901 (diff) | |
download | scala-e0a8ffe88740995150fa7ca58797a4cceed3169f.tar.gz scala-e0a8ffe88740995150fa7ca58797a4cceed3169f.tar.bz2 scala-e0a8ffe88740995150fa7ca58797a4cceed3169f.zip |
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.
Diffstat (limited to 'src/interactive')
-rw-r--r-- | src/interactive/scala/tools/nsc/interactive/CompilerControl.scala | 4 |
1 files changed, 2 insertions, 2 deletions
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)) } |