Consider code like:
---
switch (0) {
default:
}
---
The span of the AST node representing 'default' does not cover the letters 'default', but rather ':', which is wrong.
---
switch (0) {
default:
}
---
The span of the AST node representing 'default' does not cover the letters 'default', but rather ':', which is wrong.