avoid IntelliJ marking valid code as erroneous

relative imports and "println _" cause error highlighting in IntelliJ
This commit is contained in:
Justin Kaeser 2016-11-18 12:21:34 +03:00 committed by Eugene Yokota
parent e250cf51ca
commit cfecf1f6b9
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ import sbt.internal.{
import sbt.internal.util.{ AttributeKey, AttributeMap, complete, ConsoleOut, GlobalLogging, LineRange, MainAppender, SimpleReader, Types }
import sbt.util.{ Level, Logger }
import complete.{ DefaultParsers, Parser }
import sbt.internal.util.complete.{ DefaultParsers, Parser }
import sbt.internal.inc.{ CompilerCache, ScalaInstance }
import sbt.compiler.EvalImports
import Types.{ const, idFun }
@ -356,7 +356,7 @@ object BuiltinCommands {
val extracted = Project extract s
import extracted.{ showKey, structure }
val keysParser = token(flag("--last" <~ Space)) ~ Act.aggregatedKeyParser(extracted)
val show = Aggregation.ShowConfig(settingValues = true, taskValues = false, print = println _, success = false)
val show = Aggregation.ShowConfig(settingValues = true, taskValues = false, print = println(_), success = false)
for {
lastOnly_keys <- keysParser
kvs = Act.keyValues(structure)(lastOnly_keys._2)