Skip to content

The "throw an exception when compilation fails" behavior is broken (also, why throw exceptions at all?) #40

Open
@ztellman

Description

The current implementation throws an exception when getting a warning such as:

java: Some input files use unchecked or unsafe operations.
java: Recompile with -Xlint:unchecked for details.

This is clearly not a compilation error. Also, I don't really understand why you added the "throw an exception" behavior. As implemented, an error on the initial compile will prevent the background loop from initializing. This seems very much at odds with how I've used Virgil in the past. Can you expand on why you thought it was necessary?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions