aboutsummaryrefslogtreecommitdiff
path: root/tests/i/constant-scope/notes.md
blob: 6d71b426968fb5bb5f4ea2a9e9e45f8fdb08848b (plain)
1
2
3
4
5
6
7

# constant-scope

Human review: pending. Expected output was independently traced by AI, not captured from cpsc.

Basis: CIE p. 8 allows restricting a constant scope; project lexical binding and function inheritance rules.

Trace: The inner constant shadows 3 only within the IF. The outer binding and the function both retain 3.