We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
fallthrough
public static async boolQuestion( String value, String invalidResponseMessage = null ) => Bool.fromString(question( value, { let response = match _.toLowerCase() { "y" => fallthrough "yes" => fallthrough "n" => fallthrough "no" => true default => false } return response }, { let response = match _ { "y" => fallthrough "yes" => "true" "n" => fallthrough "no" => "false" default => "false" } return response }, invalidResponseMessage ?: "Invalid answer. Please respond with 'y' or 'n'" ))
Error: Invalid case value 'fallthrough' for expression - in file "flat/readline/ReadLine.flat" on line number 5 at offset 0 [15, 36]
The text was updated successfully, but these errors were encountered:
BSteffaniak
No branches or pull requests
Error: Invalid case value 'fallthrough' for expression - in file "flat/readline/ReadLine.flat" on line number 5 at offset 0 [15, 36]
The text was updated successfully, but these errors were encountered: