From 303262b9ebc1d23fb1f1b4e7d2425e1a03ae0b32 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 23 Jan 2026 07:37:27 -0800 Subject: [PATCH] Escape `map` when printing WITs Added as a keyword recently. --- crates/wit-component/src/printing.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/wit-component/src/printing.rs b/crates/wit-component/src/printing.rs index e87ef8b135..e8efac6b6a 100644 --- a/crates/wit-component/src/printing.rs +++ b/crates/wit-component/src/printing.rs @@ -1229,6 +1229,7 @@ fn is_keyword(name: &str) -> bool { | "constructor" | "error-context" | "async" + | "map" ) }