Commit fdf9a0a
Emit OnMessageClause as its message reference, not a quoted identifier
An OnMessageClause's id is a synthetic "keyword path" string (e.g.
"command Go"). After Identifier.format began single-quoting non-bare
names, openDef rendered the clause as `on 'command Go'`, which does not
re-parse. Emit the clause's message reference (msg.format) instead, which
is the round-trippable source form; all other synthetic ids are bare
literals and unaffected.
Fixes JsonInputTest reference-carrying-statements round-trip on JVM, JS,
and Native.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 5d00535 commit fdf9a0a
1 file changed
Lines changed: 7 additions & 1 deletion
File tree
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
41 | 47 | | |
42 | 48 | | |
43 | 49 | | |
| |||
0 commit comments