cvogt / cbt

CBT - fun, fast, intuitive, compositional, statically checked builds written in Scala
Other
488 stars 60 forks source link

Example code fails to compile #495

Closed dragos closed 7 years ago

dragos commented 7 years ago

Following the README, I tried

$ cbt eval 'sources.strings.mkString(":")'
cbt.eval.Eval$CompilerException: Compiler exception error: line 4: value strings is not a member of Seq[java.io.File]
        println{ sources.strings.mkString(":") }
                         ^
    at cbt.eval.Eval$StringCompiler.apply(Eval.scala:610)
    at cbt.eval.Eval.compile(Eval.scala:222)
    at cbt.DynamicOverrides$class.newBuild(DynamicOverrides.scala:75)
    at dragos_vscode_scala_build.Build.newBuild(build.scala:3)
...
cvogt commented 7 years ago

thx. fix in https://github.com/cvogt/cbt/pull/500