diff options
Diffstat (limited to 'spec/05-classes-and-objects.md')
-rw-r--r-- | spec/05-classes-and-objects.md | 4 |
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. |