diff options
author | Michał Pociecha <michal.pociecha@gmail.com> | 2015-08-22 01:02:46 +0200 |
---|---|---|
committer | Michał Pociecha <michal.pociecha@gmail.com> | 2015-08-23 12:18:15 +0200 |
commit | 31ae74f2dd649bd67457492af6305b92a8ea9cf6 (patch) | |
tree | e15e154ff828e7ff80a16973605d0a6772a30d15 /test/files/run | |
parent | f8a6d21a490090bac20b0753c46b91ca2b335049 (diff) | |
download | scala-31ae74f2dd649bd67457492af6305b92a8ea9cf6.tar.gz scala-31ae74f2dd649bd67457492af6305b92a8ea9cf6.tar.bz2 scala-31ae74f2dd649bd67457492af6305b92a8ea9cf6.zip |
Fix typos in spec, docs and comments
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/dead-code-elimination.scala | 2 | ||||
-rw-r--r-- | test/files/run/names-defaults.scala | 2 | ||||
-rw-r--r-- | test/files/run/nothingTypeNoOpt.scala | 2 | ||||
-rw-r--r-- | test/files/run/t8047.scala | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/test/files/run/dead-code-elimination.scala b/test/files/run/dead-code-elimination.scala index fd3f2a996a..2291b22f7a 100644 --- a/test/files/run/dead-code-elimination.scala +++ b/test/files/run/dead-code-elimination.scala @@ -10,7 +10,7 @@ // the stack after code elimination. // // Originally, this did not compile, but I included it in the run -// tests because this was ASM-dependand and did not happen for GenJVM. +// tests because this was ASM-dependent and did not happen for GenJVM. // // Thus, we run the code and force the loading of class B -- if the // bytecode is incorrect, it will fail the test. diff --git a/test/files/run/names-defaults.scala b/test/files/run/names-defaults.scala index 7fb4a04546..4159dbdf91 100644 --- a/test/files/run/names-defaults.scala +++ b/test/files/run/names-defaults.scala @@ -192,7 +192,7 @@ object Test extends App { println(argName) // should be 4 test5 { argName = 5 } println(argName) // should be 5 - val a: Unit = test1(a = 10, b = "2") // local values a and b exist, but not ambiuous since they're val's + val a: Unit = test1(a = 10, b = "2") // local values a and b exist, but it's not ambiguous since they're vals // dependent types and copy method diff --git a/test/files/run/nothingTypeNoOpt.scala b/test/files/run/nothingTypeNoOpt.scala index 5c5a20fa3b..454539a4b1 100644 --- a/test/files/run/nothingTypeNoOpt.scala +++ b/test/files/run/nothingTypeNoOpt.scala @@ -26,7 +26,7 @@ class C { } def f5(x: Boolean) = { - // stack heights need to be the smae. ??? looks to the jvm like returning a value of + // stack heights need to be the same. ??? looks to the jvm like returning a value of // type Nothing$, need to drop or throw it. println( if (x) { ???; 10 } diff --git a/test/files/run/t8047.scala b/test/files/run/t8047.scala index f5660541e8..9ec8c1dc56 100644 --- a/test/files/run/t8047.scala +++ b/test/files/run/t8047.scala @@ -1,7 +1,7 @@ object Test extends App { import scala.reflect.runtime.universe._ // - // x's owner is outer Test scope. Previosly the quasiquote expansion + // x's owner is outer Test scope. Previously the quasiquote expansion // looked like: // // object Test { |