Closed Midnighter closed 3 weeks ago
Thanks for reporting the throw statement issue.
The types being removed is intentional because Groovy-style type annotations are not supported anymore. We will re-add type annotations later but likely with a different syntax. For now I suggest you use a doc comment:
/**
* Get the simple name of a file.
*
* @param filename: Path
* @return String
*/
def get_simple_name(filename) {
// ...
}
My function
was turned into