code: private boolean validRecordParam(Node expr) {
      if (expr.isObjectLit()) {
        // Each value of a property must be a valid expression
        for (Node prop : expr.children()) {
          if (prop.isShorthandProperty()) {
            warnInvalid("property, missing type", prop);
            return false;
          } else if (!validTypeTransformationExpression(prop.getFirstChild())) {
            return false;
          }
        }
      } else if (!validTypeTransformationExpression(expr)) {
        return false;
      }
      return true;
    }
docs: A record must be a valid type transformation expression or a node of the form:
  {prop:TTLExp, prop:TTLExp, ...}
  Notice that the values are mandatory and they must be valid type
  transformation expressions