summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McDirmid <sean.mcdirmid@gmail.com>2008-06-24 10:13:46 +0000
committerSean McDirmid <sean.mcdirmid@gmail.com>2008-06-24 10:13:46 +0000
commitd8b12acb937667e1356af049c594302fa120f656 (patch)
tree01e6fe7ceb4520c834242646370882b1d880abc9
parenta4d47adf0e2ba9e12537c6f433d823dddecf25ab (diff)
downloadscala-d8b12acb937667e1356af049c594302fa120f656.tar.gz
scala-d8b12acb937667e1356af049c594302fa120f656.tar.bz2
scala-d8b12acb937667e1356af049c594302fa120f656.zip
Converting all vals possible into lazy vals, sh...
Converting all vals possible into lazy vals, should fix it.
-rw-r--r--src/compiler/scala/tools/nsc/doc/ModelFrames.scala8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/ModelFrames.scala b/src/compiler/scala/tools/nsc/doc/ModelFrames.scala
index ed933c5c17..ffb1cb0898 100644
--- a/src/compiler/scala/tools/nsc/doc/ModelFrames.scala
+++ b/src/compiler/scala/tools/nsc/doc/ModelFrames.scala
@@ -177,8 +177,8 @@ trait ModelFrames extends ModelExtractor {
protected def rootFor(sym: global.Symbol) = ""
abstract class AllPackagesFrame extends Frame {
- override val path = "modules"
- override val title = "List of all packages"
+ override lazy val path = "modules"
+ override lazy val title = "List of all packages"
def packages: Iterable[Package]
override def body: NodeSeq =
(<div>
@@ -193,8 +193,8 @@ trait ModelFrames extends ModelExtractor {
</ul>);
}
abstract class PackagesContentFrame extends Frame {
- val path = "root-content"
- val title = "All Packages"
+ lazy val path = "root-content"
+ lazy val title = "All Packages"
def packages : Iterable[Package]
//def modules: TreeMap[String, ModuleClassSymbol]
def body: NodeSeq =