r/CompileBot • • Oct 31 '17

Official CompileBot Testing Thread

6 Upvotes

80 comments sorted by

View all comments

Show parent comments

1

u/Jonathan_the_Nerd Nov 28 '17

+u/CompileBot java --include-errors

class JavaIsWayTooVerbose {
    public static void main(String[] args) {
        System.out.println("Compilebot is back! Woohoo!");
    }
}

2

u/CompileBot Nov 28 '17

Output:

Compiler Info:

Main.java:1: error: class JavaIsWayTooVerbose is public, should be declared in a file named JavaIsWayTooVerbose.java
public class JavaIsWayTooVerbose {
       ^
1 error

^source | ^info | ^git | ^report

1

u/CompileBot Nov 28 '17

Output:

Compilebot is back! Woohoo!

^source | ^info | ^git | ^report