06:25
<snek>
should this be ~Await? https://gc.gy/126867328.png
06:27
<snek>

It is a Syntax Error if ClassStaticBlockStatementList Contains await is true.

06:27
<snek>
strange
06:28
<nicolo-ribaudo (back on Aug 15th)>
+Await is probably to prevent await from being parsed as an identifier
06:29
<snek>
oh
06:29
<snek>
fun
06:32
<bakkot>
really it should be inherited from the surrounding context, but I lost that fight
06:58
<snek>
ok i think i found a real bug
06:59
<snek>
(class { static { this.toString() } })
06:59
<snek>
[[SourceText]] on classes is set after the static block evaluates
06:59
<snek>
seems like a pretty simple fix though