mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-21 23:58:24 +00:00
818 B
818 B
META
description=Function application expression
type=expr
SOURCE
foo(42, "hello")
EXPECTED
UNDEFINED VARIABLE - apply_function.md:1:1:1:4
PROBLEMS
UNDEFINED VARIABLE
Nothing is named foo in this scope.
Is there an import or exposing missing up-top?
apply_function.md:1:1:1:4:
foo(42, "hello")
^^^
TOKENS
LowerIdent,NoSpaceOpenRound,Int,Comma,StringStart,StringPart,StringEnd,CloseRound,
EndOfFile,
PARSE
(e-apply
(e-ident (raw "foo"))
(e-int (raw "42"))
(e-string
(e-string-part (raw "hello"))))
FORMATTED
NO CHANGE
CANONICALIZE
(e-call
(e-runtime-error (tag "ident_not_in_scope"))
(e-num (value "42"))
(e-string
(e-literal (string "hello"))))
TYPES
(expr (type "Error"))