title: Swift error "Expected expression in container literal" with variable declaration
body: <p>The message "Expected expression in container literal" continues to appear in the variable line. Code attached below:</p>
  
  <pre><code>import ResearchKit
  
  public var ConsentDocument: ORKConsentDocument {
  
  let consentDocument = ORKConsentDocument()
  consentDocument.title = "Example Consent"
  
  let _: [ORKConsentSectionType] = [
  var consentSection: [ORKConsentSection] = consentSectionTypes.map { contentSectionType in
  let consentSection = ORKConsentSection(type: contentSectionType)
  consentSection.summary = "x."
  consentSection.content = "y."
  return consentSection
  }
  </code></pre>
  
  <p>So sorry for the confusion.</p>