mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
A var declared only inside a with body is not bound, since the reference never compiles that body, so the name reads the global. A using or await using declaration is a const that nothing disposes. An import below the top level does nothing in the program and throws its SyntaxError where it runs in a function. A read of, or write to, a name fails at the name itself, so a parenthesized assignment target is located where the reference locates it. ThrowSyntax now throws a plain SyntaxError and ThrowUnsupported the unsupported-syntax one. |
||
|---|---|---|
| .. | ||
| bench | ||
| conformance | ||
| crates/psychoscript | ||
| test262 | ||
| .gitignore | ||
| AGENTS.md | ||
| Cargo.lock | ||
| Cargo.toml | ||
| rust-toolchain.toml | ||