summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorJanek Bogucki <janekdb@gmail.com>2016-11-11 07:04:37 +0000
committerJanek Bogucki <janekdb@gmail.com>2016-11-11 07:04:37 +0000
commitdc047d43aaf6aec669c87ae16d5445d4e2e512fe (patch)
treebac4164abc88fab18801acf9ebeac7a8758095fc /spec
parentf8bc01ee6ff7c3f2cacb62692598f9efcdb78874 (diff)
downloadscala-dc047d43aaf6aec669c87ae16d5445d4e2e512fe.tar.gz
scala-dc047d43aaf6aec669c87ae16d5445d4e2e512fe.tar.bz2
scala-dc047d43aaf6aec669c87ae16d5445d4e2e512fe.zip
Typo and spelling corrections
Diffstat (limited to 'spec')
-rw-r--r--spec/05-classes-and-objects.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/05-classes-and-objects.md b/spec/05-classes-and-objects.md
index 739fd28eb1..1b9702286c 100644
--- a/spec/05-classes-and-objects.md
+++ b/spec/05-classes-and-objects.md
@@ -1103,8 +1103,8 @@ Note that the value defined by an object definition is instantiated
lazily. The `new $m$\$cls` constructor is evaluated
not at the point of the object definition, but is instead evaluated
the first time $m$ is dereferenced during execution of the program
-(which might be never at all). An attempt to dereference $m$ again in
-the course of evaluation of the constructor leads to a infinite loop
+(which might be never at all). An attempt to dereference $m$ again
+during evaluation of the constructor will lead to an infinite loop
or run-time error.
Other threads trying to dereference $m$ while the
constructor is being evaluated block until evaluation is complete.