diff options
author | Iain McGinniss <iainmcgin@gmail.com> | 2013-07-31 12:00:26 +0100 |
---|---|---|
committer | Iain McGinniss <iainmcgin@gmail.com> | 2013-07-31 12:00:26 +0100 |
commit | d8f0a93efb04c5302e7b67f03a01e608cf1e495b (patch) | |
tree | cd7cb5b23e2882b7ce6f3fb6745d0b2e10e6818a | |
parent | ab8f966f098ae207e2ab94e8dfe2ed0d45253eb3 (diff) | |
download | scala-d8f0a93efb04c5302e7b67f03a01e608cf1e495b.tar.gz scala-d8f0a93efb04c5302e7b67f03a01e608cf1e495b.tar.bz2 scala-d8f0a93efb04c5302e7b67f03a01e608cf1e495b.zip |
rendering error fix
\Dollar is not a macro MathJAX understands; alternative formatting is possible.
-rw-r--r-- | 07-classes-and-objects.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/07-classes-and-objects.md b/07-classes-and-objects.md index 4bf7e55107..959f482f0e 100644 --- a/07-classes-and-objects.md +++ b/07-classes-and-objects.md @@ -1123,7 +1123,7 @@ lazy val $m$ = new $sc$ with $mt_1$ with $\ldots$ with $mt_n$ { this: $m.type$ = ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Note that the value defined by an object definition is instantiated -lazily. The `new $m\Dollar$cls` constructor is evaluated +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 |