roc/test/snapshots/expr/boolean_tuple.md

523 B

META

description=Test that True and False resolve to Bool type in a tuple
type=expr

SOURCE

(True, False)

EXPECTED

NIL

PROBLEMS

NIL

TOKENS

OpenRound,UpperIdent,Comma,UpperIdent,CloseRound,
EndOfFile,

PARSE

(e-tuple
	(e-tag (raw "True"))
	(e-tag (raw "False")))

FORMATTED

NO CHANGE

CANONICALIZE

(e-tuple
	(elems
		(e-tag (name "True"))
		(e-tag (name "False"))))

TYPES

(expr (type "([True]_others, [False]_others2)"))