From 95e5206c3f04f3d054d66e9a1f86c24c6336c969 Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Sun, 20 Mar 2011 22:54:01 -0400 Subject: [PATCH] work on displaying task errors --- util/collection/Settings.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/util/collection/Settings.scala b/util/collection/Settings.scala index ef6261c51..9450ee10e 100644 --- a/util/collection/Settings.scala +++ b/util/collection/Settings.scala @@ -180,6 +180,7 @@ trait Init[Scope] def dependsOn: Seq[ScopedKey[_]] = remove(init.dependsOn, key) def mapReferenced(g: MapScoped): Setting[T] = new Setting(key, init mapReferenced g) def mapKey(g: MapScoped): Setting[T] = new Setting(g(key), init) + def mapInit(f: (ScopedKey[T], T) => T): Setting[T] = new Setting(key, init.map(t => f(key,t))) override def toString = "setting(" + key + ")" }