-
Notifications
You must be signed in to change notification settings - Fork 13
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
Cannot figure out why this script has compiling error #37
Comments
Update: It has something to do with that Ant.echo |
In Aardvark, functions based on Ant tasks need named parameters. Try function echo(message:String) { |
Ah yes. That is right. Is there anyway to make the error message clear? That was the real issue. I know you can say read the document but the error message is not close enough to the error |
Hm, yeah that would be a task for Gosu's command line parse error reporting. |
Unfortunately, users of Aardvark will be confused because of this. Maybe in the meanwhile put specific document about how to run ANT target? You need another one for Maven too |
function echo(message:String) {
Ant.echo(message)
}
Error:
program_.__Program__0
Errors:
The type "java.lang.String" cannot be converted to "java.lang.Boolean" [line:-28 col:12] in
line 1:
Expected Type: Boolean
Line Number: 2 Column: 12
The text was updated successfully, but these errors were encountered: