haxe
haxe copied to clipboard
Too big error range for Not_enough_arguments
Everything is red here from final word, instead of just join highlighting (not related to inline functions).
class Main {
static function main() {
final word = ["a", "b", "c"].map(char -> {
// some long function
return char;
}).join();
}
}
This is technically correct because the call subject is the entire EField expression, not just the name. But I agree that it's quite stupid...