From d8f0a93efb04c5302e7b67f03a01e608cf1e495b Mon Sep 17 00:00:00 2001 From: Iain McGinniss Date: Wed, 31 Jul 2013 12:00:26 +0100 Subject: rendering error fix \Dollar is not a macro MathJAX understands; alternative formatting is possible. --- 07-classes-and-objects.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '07-classes-and-objects.md') 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 -- cgit v1.2.3