Skip to content

Commit

Permalink
rendering error fix
Browse files Browse the repository at this point in the history
\Dollar is not a macro MathJAX understands; alternative formatting is possible.
  • Loading branch information
iainmcgin committed Jul 31, 2013
1 parent ab8f966 commit d8f0a93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 07-classes-and-objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d8f0a93

Please sign in to comment.