mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-23 08:48:03 +00:00
603 B
603 B
META
description=Empty tuple literal
type=expr
SOURCE
()
EXPECTED
EMPTY TUPLE NOT ALLOWED - tuple_empty_unbound.md:1:1:1:3
PROBLEMS
EMPTY TUPLE NOT ALLOWED I am part way through parsing this tuple, but it is empty: tuple_empty_unbound.md:1:1:1:3:
()
^^
If you want to represent nothing, try using an empty record: {}.
TOKENS
OpenRound,CloseRound,
EndOfFile,
PARSE
(e-tuple)
FORMATTED
NO CHANGE
CANONICALIZE
(e-runtime-error (tag "empty_tuple"))
TYPES
(expr (type "Error"))