summaryrefslogtreecommitdiff
path: root/07-classes-and-objects.md
diff options
context:
space:
mode:
authorIain McGinniss <iainmcgin@gmail.com>2013-07-31 12:00:26 +0100
committerIain McGinniss <iainmcgin@gmail.com>2013-07-31 12:00:26 +0100
commitd8f0a93efb04c5302e7b67f03a01e608cf1e495b (patch)
treecd7cb5b23e2882b7ce6f3fb6745d0b2e10e6818a /07-classes-and-objects.md
parentab8f966f098ae207e2ab94e8dfe2ed0d45253eb3 (diff)
downloadscala-d8f0a93efb04c5302e7b67f03a01e608cf1e495b.tar.gz
scala-d8f0a93efb04c5302e7b67f03a01e608cf1e495b.tar.bz2
scala-d8f0a93efb04c5302e7b67f03a01e608cf1e495b.zip
rendering error fix
\Dollar is not a macro MathJAX understands; alternative formatting is possible.
Diffstat (limited to '07-classes-and-objects.md')
-rw-r--r--07-classes-and-objects.md2
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