diff options
author | Antonio Cunei <antonio.cunei@epfl.ch> | 2008-08-31 11:40:19 +0000 |
---|---|---|
committer | Antonio Cunei <antonio.cunei@epfl.ch> | 2008-08-31 11:40:19 +0000 |
commit | 3ee45986dc06b1d5f7169e3cde4b953814a68b97 (patch) | |
tree | 9cb4d5e80c3ab1553d560ceb4baa2473ed676cc8 | |
parent | b3ba623412b9a15ddd22396fd1323c8c698ca421 (diff) | |
download | scala-3ee45986dc06b1d5f7169e3cde4b953814a68b97.tar.gz scala-3ee45986dc06b1d5f7169e3cde4b953814a68b97.tar.bz2 scala-3ee45986dc06b1d5f7169e3cde4b953814a68b97.zip |
Fixed spelling
-rw-r--r-- | src/compiler/scala/tools/nsc/backend/opt/Inliners.scala | 2 | ||||
-rw-r--r-- | test/files/run/checked.check | 4 | ||||
-rw-r--r-- | test/files/run/checked.scala | 2 | ||||
-rw-r--r-- | test/files/run/exceptions-2.check | 2 | ||||
-rw-r--r-- | test/files/run/exceptions-2.scala | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/opt/Inliners.scala b/src/compiler/scala/tools/nsc/backend/opt/Inliners.scala index 0b78779d20..62ae82797c 100644 --- a/src/compiler/scala/tools/nsc/backend/opt/Inliners.scala +++ b/src/compiler/scala/tools/nsc/backend/opt/Inliners.scala @@ -363,7 +363,7 @@ abstract class Inliners extends SubComponent { m.normalize } catch { case e => - Console.println("############# Cought exception: " + e + " #################"); + Console.println("############# Caught exception: " + e + " #################"); Console.println("\nMethod: " + m + "\nMethod owner: " + m.symbol.owner); e.printStackTrace(); diff --git a/test/files/run/checked.check b/test/files/run/checked.check index 6b85ae360d..258e93e5b2 100644 --- a/test/files/run/checked.check +++ b/test/files/run/checked.check @@ -1,7 +1,7 @@ sum = 12 -[OK] Cought UFE: Uninitialized field: checked.scala: 42 +[OK] Caught UFE: Uninitialized field: checked.scala: 42 2 -[OK] Cought UFE: Uninitialized field: checked.scala: 73 +[OK] Caught UFE: Uninitialized field: checked.scala: 73 x = 10 y = 11 lz1 = 1 diff --git a/test/files/run/checked.scala b/test/files/run/checked.scala index a20b819353..adb0c509a5 100644 --- a/test/files/run/checked.scala +++ b/test/files/run/checked.scala @@ -97,7 +97,7 @@ object Test extends Application { println("[FAIL]: No UFE thrown") } catch { case UninitializedFieldError(msg) => - println("[OK] Cought UFE: " + msg) + println("[OK] Caught UFE: " + msg) } diff --git a/test/files/run/exceptions-2.check b/test/files/run/exceptions-2.check index 86fc91b2a2..9a3044cd4f 100644 --- a/test/files/run/exceptions-2.check +++ b/test/files/run/exceptions-2.check @@ -17,7 +17,7 @@ method2: 10 Exception occurred method3: -Cought an NPE +Caught an NPE tryFinallyTry: Silently ignore exception in finally valInFinally: diff --git a/test/files/run/exceptions-2.scala b/test/files/run/exceptions-2.scala index 91d294c8d7..5b233d9552 100644 --- a/test/files/run/exceptions-2.scala +++ b/test/files/run/exceptions-2.scala @@ -110,7 +110,7 @@ object Test { } } catch { case npe: NullPointerException => - Console.println("Cought an NPE"); + Console.println("Caught an NPE"); } def withValue1: Unit = { |