Closed slyubomirsky closed 1 year ago
Our comments in the well-formed pass did not mention PrimValue, DataTypeImm, and StringImm as leaf nodes. This PR updates the comment and adds a test case demonstrating this fact.
PrimValue
DataTypeImm
StringImm
They are actually considered because they are all subclass of LeafExprNode
Oh okay, we don't need to change the definition of IsLeafOrTuple then. We can keep the new test case and the comment updates
IsLeafOrTuple
Our comments in the well-formed pass did not mention
PrimValue
,DataTypeImm
, andStringImm
as leaf nodes. This PR updates the comment and adds a test case demonstrating this fact.