Skip to content

Commit 6498b69

Browse files
authored
Escape map when printing WITs (#2424)
Added as a keyword recently.
1 parent 7e9cf05 commit 6498b69

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

crates/wit-component/src/printing.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1229,6 +1229,7 @@ fn is_keyword(name: &str) -> bool {
12291229
| "constructor"
12301230
| "error-context"
12311231
| "async"
1232+
| "map"
12321233
)
12331234
}
12341235

0 commit comments

Comments
 (0)