v3 Semantics: Nested Functions Checkpoint

Predict fresh artifacts, diagnose a broken invariant, and test a version boundary. Select one answer per multiple-choice question; numeric responses use the stated integer format. Use review links to revisit the relevant representation, then attempt the independent transfer task.


Get every question correct to pass this checkpoint. You can review feedback, revise your answers, and submit again.

1. Which v3 program can pass name analysis and then fail because the callee value is not a closure?

Select one answer.

2. Which operation is allowed after const a=[3]; in v3?

Select one answer.

3. A nested function refers to outer z before any declaration of z has been visited. What should analysis do?

Select one answer.

4. Which call permits the v3 analyzer’s direct known-function arity check?

Select one answer.

5. Why insert a nested function’s const-like binding before analyzing its body?

Select one answer.

Join Discord