diff options
author | michelou <michelou@epfl.ch> | 2003-10-23 13:27:31 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2003-10-23 13:27:31 +0000 |
commit | 9060ea504ac458d79db5a3fb60ea9d97fdd157b2 (patch) | |
tree | d196330c90e674c0e2714523c7cd8e1d065c1420 | |
parent | cc14c3fd9fff3326893946c1ba2d7ed0066c20c8 (diff) | |
download | scala-9060ea504ac458d79db5a3fb60ea9d97fdd157b2.tar.gz scala-9060ea504ac458d79db5a3fb60ea9d97fdd157b2.tar.bz2 scala-9060ea504ac458d79db5a3fb60ea9d97fdd157b2.zip |
-- corrected 'lstinline' tag (begin/end must be...
-- corrected 'lstinline' tag (begin/end must be on the same line)
-rw-r--r-- | doc/reference/ScalaReference.tex | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/reference/ScalaReference.tex b/doc/reference/ScalaReference.tex index 83e8665c7c..6abb8a3596 100644 --- a/doc/reference/ScalaReference.tex +++ b/doc/reference/ScalaReference.tex @@ -1459,8 +1459,9 @@ Classes (\sref{sec:classes}) and objects A template defines the type signature, behavior and initial state of a class of objects or of a single object. Templates form part of instance creation expressions, class definitions, and object -definitions. A template ~\lstinline@$sc$ with $mc_1$ with $\ldots$ -with $mc_n$ {$stats\,$}@~ consists of a constructor invocation $sc$ +definitions. A template +~\lstinline@$sc$ with $mc_1$ with $\ldots$ with $mc_n$ {$stats\,$}@~ +consists of a constructor invocation $sc$ which defines the template's {\em superclass}, constructor invocations ~\lstinline@$mc_1 \commadots mc_n$@~ $(n \geq 0)$, which define the template's {\em mixin classes}, and a statement sequence $stats$ which |