diff --git a/src/parser.rs b/src/parser.rs index c23a4169d8a..941994f040e 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -500,7 +500,9 @@ pub fn make_call( pub fn is_gleam_reserved_word(s: &str) -> bool { match s { - "pub" | "fn" | "import" | "as" | "type" | "extern" | "case" | "try" | "assert" => true, + "pub" | "fn" | "import" | "as" | "type" | "extern" | "case" | "let" | "try" | "assert" => { + true + } _ => false, } }