Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix ShellPrompPlugin.scala compile errors/warning #464

Merged
merged 1 commit into from
Aug 27, 2017

Conversation

xuwei-k
Copy link
Member

@xuwei-k xuwei-k commented Aug 27, 2017

[error] project/ShellPrompPlugin.scala:10:16: not found: type ProcessLogger
[error]   val devnull: ProcessLogger = new ProcessLogger {
[error]                ^
[error] project/ShellPrompPlugin.scala:10:36: not found: type ProcessLogger
[error]   val devnull: ProcessLogger = new ProcessLogger {
[error]                                    ^
[error] project/ShellPrompPlugin.scala:16:23: value lines_! is not a member of String
[error]     ("git status -sb" lines_! devnull headOption)
[error]                       ^
[error] three errors found
[error] (compile:compileIncremental) Compilation failed
project/ShellPrompPlugin.scala:11:36: object creation impossible, since:
[error] it has 2 unimplemented members.
[error] /** As seen from <$anon: scala.sys.process.ProcessLogger>, the missing signatures are as follows.
[error]  *  For convenience, these are usable as stub implementations.
[error]  */
[error]   def err(s: => String): Unit = ???
[error]   def out(s: => String): Unit = ???
[error]   val devnull: ProcessLogger = new ProcessLogger {
[error]                                    ^

```
[error] project/ShellPrompPlugin.scala:10:16: not found: type ProcessLogger
[error]   val devnull: ProcessLogger = new ProcessLogger {
[error]                ^
[error] project/ShellPrompPlugin.scala:10:36: not found: type ProcessLogger
[error]   val devnull: ProcessLogger = new ProcessLogger {
[error]                                    ^
[error] project/ShellPrompPlugin.scala:16:23: value lines_! is not a member of String
[error]     ("git status -sb" lines_! devnull headOption)
[error]                       ^
[error] three errors found
[error] (compile:compileIncremental) Compilation failed
```

```
project/ShellPrompPlugin.scala:11:36: object creation impossible, since:
[error] it has 2 unimplemented members.
[error] /** As seen from <$anon: scala.sys.process.ProcessLogger>, the missing signatures are as follows.
[error]  *  For convenience, these are usable as stub implementations.
[error]  */
[error]   def err(s: => String): Unit = ???
[error]   def out(s: => String): Unit = ???
[error]   val devnull: ProcessLogger = new ProcessLogger {
[error]                                    ^
```
@xuwei-k xuwei-k merged commit 218122a into sbt:1.x Aug 27, 2017
@xuwei-k xuwei-k deleted the fix-plugin-example branch August 27, 2017 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants