let is a reserved word
@@ -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,
}
}
