roc/test/snapshots/expr_ident_simple.md
2025-10-16 07:00:23 -07:00

587 B

META

description=Simple identifier lookup canonicalization
type=expr

SOURCE

foo

EXPECTED

UNDEFINED VARIABLE - expr_ident_simple.md:1:1:1:4

PROBLEMS

UNDEFINED VARIABLE Nothing is named foo in this scope. Is there an import or exposing missing up-top?

expr_ident_simple.md:1:1:1:4:

foo

^^^

TOKENS

LowerIdent,
EndOfFile,

PARSE

(e-ident (raw "foo"))

FORMATTED

NO CHANGE

CANONICALIZE

(e-runtime-error (tag "ident_not_in_scope"))

TYPES

(expr (type "Error"))