mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-23 08:48:03 +00:00
706 B
706 B
META
description=Field access expression simple expression
type=expr
SOURCE
person.name
EXPECTED
UNDEFINED VARIABLE - field_access.md:1:1:1:7
PROBLEMS
UNDEFINED VARIABLE
Nothing is named person in this scope.
Is there an import or exposing missing up-top?
field_access.md:1:1:1:7:
person.name
^^^^^^
TOKENS
LowerIdent,NoSpaceDotLowerIdent,
EndOfFile,
PARSE
(e-field-access
(e-ident (raw "person"))
(e-ident (raw "name")))
FORMATTED
NO CHANGE
CANONICALIZE
(e-dot-access (field "name")
(receiver
(e-runtime-error (tag "ident_not_in_scope"))))
TYPES
(expr (type "_a"))