title: Missing bracket bug in powershell
body: <p>I have the following script snippet:</p>
  
  <pre><code>if (2 -eq 2)
   {
      write-host "1"
  
      if (2 -eq 2)
      { 
          write-host "here"
          if (2 -eq 2)
          {                                                                                                                                                                                        {
              write-host "here3"
          }
          else 
          {
              write-host "here4"
           }
      }
       else
       {
           write-host "here5"
       }
  
  
   }
  </code></pre>
  
  <p>When I run it I got the following error:</p>
  
  <blockquote>
    <p>Missing closing '}' in statement block or type definition.</p>
  </blockquote>
  
  <p>I don't get the problem , all the brackets are opened and closed correctly.
  Any ideas ?
  Thanks.</p>