mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-22 08:08:28 +00:00
717 B
717 B
META
description=Function call expression
type=expr
SOURCE
add(5, 3)
EXPECTED
UNDEFINED VARIABLE - function_call.md:1:1:1:4
PROBLEMS
UNDEFINED VARIABLE
Nothing is named add in this scope.
Is there an import or exposing missing up-top?
function_call.md:1:1:1:4:
add(5, 3)
^^^
TOKENS
LowerIdent,NoSpaceOpenRound,Int,Comma,Int,CloseRound,
EndOfFile,
PARSE
(e-apply
(e-ident (raw "add"))
(e-int (raw "5"))
(e-int (raw "3")))
FORMATTED
NO CHANGE
CANONICALIZE
(e-call
(e-runtime-error (tag "ident_not_in_scope"))
(e-num (value "5"))
(e-num (value "3")))
TYPES
(expr (type "Error"))