2 Replies Latest reply on Feb 4, 2011 6:38 AM by TomBurgundy

    Broken content assist

    TomBurgundy Level 1

      With "content assist" I mean the feature that pops up a selection of choices to complete the code you are writing, such as function & class names and variables.


      Now, I just figured out why it doesn't sometimes..


      My code looks like:



      var prds:Array = new Array();

      for each (var prd:Product in prds) {

      // empty




      Content assist fails on the last line. It does not provide any suggestions based on Product for the variable "prd".


      However, the code compiles, of course, without errors or warnings.


      Is there a bug report on this?


      PS: Of course I could declare the "prd" variable at top-level and then it would work. The point here is that content assist fails on code that compiles.