title: Getting "The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions"
body: <p>Currently I'm learning SwiftUI and there's a problem which I am facing. Compiler is unable to type check the expression.</p>
  <p>It all started when I added Text(update.date). Also, Update is the structure which I have created where one of the data members is date of type String.</p>
  <p>Is it related to the length of the code??</p>
  <p>I have added the code and snapshot of the error.</p>
  <pre><code>import SwiftUI
  
  struct UpdateList: View {
      
      var body: some View {
          
          NavigationView {
              List(updateData) { update in
                  NavigationLink(destination: Text(update.text)) {
                      VStack(alignment: .leading) {
  
                          Text(update.title)
                              .font(.system(size: 20, weight: .bold))
  
                          Text(update.text)
                              .font(.subheadline)
                              .lineLimit(2)
                              .foregroundColor(Color(#colorLiteral(red: 0.2549019754, green: 0.2745098174, blue: 0.3019607961, alpha: 1)))
  
                          Text(update.date)   //all the errors occurred when typed this
                              .forgroundColor(.secondary)
  
                      }
                  }
              }
              .navigationBarTitle(Text(&quot;Updates&quot;))
          }
          
      }
  }
  
  struct UpdateList_Previews: PreviewProvider {
      static var previews: some View {
          UpdateList()
      }
  }
  
  struct Update: Identifiable{
      var id = UUID()
      var image: String
      var title: String
      var text: String
      var date: String
  }
  
  let updateData: [Update] = [
      Update(image: &quot;Card1&quot;, title: &quot;SwiftUI Advanced&quot;, text: &quot;Take your app to App Store with advanced techniques like API data, packages and CMS&quot;, date: &quot;JAN 1&quot;),
      Update(image: &quot;Card2&quot;, title: &quot;WebFlow&quot;, text: &quot;Design and animate a high converting landing page with advanced interations, payments and CMS&quot;, date: &quot;OCT 17&quot;),
      Update(image: &quot;Card3&quot;, title: &quot;ProtoPie&quot;, text: &quot;Quickly Prototype advanced animations nd interactions for mobile and Web&quot;, date: &quot;AUG 27&quot;),
      Update(image: &quot;Card4&quot;, title: &quot;SwiftUI&quot;, text: &quot;Learn how to code custom UI, animations and gestures and components in Xcode 11&quot;, date: &quot;JUNE 26&quot;),
      Update(image: &quot;Card5&quot;, title: &quot;Framer Playground&quot;, text: &quot;Create powerful animations and interactions with Framer X code editor&quot;, date: &quot;JUNE 11&quot;)
  ]
  </code></pre>
  <p>Any suggestions??</p>
  <p>Here's the snapshot: <a href="https://i.stack.imgur.com/LXOrH.png" rel="nofollow noreferrer">https://i.stack.imgur.com/LXOrH.png</a></p>
  <p>Thanks in advance</p>