v5 Semantics: import/export resolution 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. An exported v5 function id has one parameter, but main calls u.id(1,2). What does the current analyzer establish before the VM checks arity?

Select one answer.

2. Module A appears before B and imports B, while main is correctly last. Which dependency error applies?

Select one answer.

3. A test moves main before its library and expects only an unknown-export error. Why is this a poor isolated test?

Select one answer.

4. Why is (2+3).x rejected during v5 module analysis even if parsing built a Member node?

Select one answer.

5. What should happen to a valid exported identity function called with true in v5?

Select one answer.

Join Discord