From e1c7f39e5a819f3f0ae560f9728cf09508a5afd2 Mon Sep 17 00:00:00 2001 From: Dale Wijnand Date: Sun, 14 Feb 2016 23:15:32 +0000 Subject: [PATCH] Exempt out of -Xfuture in util-collection --- build.sbt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 7b48e331e..bbfa3f30f 100644 --- a/build.sbt +++ b/build.sbt @@ -80,7 +80,9 @@ lazy val utilCollection = (project in internalPath / "util-collection"). settings( commonSettings, Util.keywordsSettings, - name := "Util Collection" + name := "Util Collection", + scalacOptions --= // scalac 2.10 rejects some HK types under -Xfuture it seems.. + (CrossVersion partialVersion scalaVersion.value collect { case (2, 10) => "-Xfuture" }).toList ) lazy val utilApplyMacro = (project in internalPath / "util-appmacro").