Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-4836

Unable to construct JS instances from built-in types using the "new" operator

    Details

    • Story Points:
      8

      Description

      As seen in https://wiki.appcelerator.org/display/tools/JS+Type+Inferencing+-+Primer the inferencing for instantiating predefined classes seems to be broken when using new.

      Here are two examples from that page that show as broken:

      var constructedArray = new Array;
      var constructedFunction = new Function;
      

        Attachments

          Activity

            People

            • Assignee:
              cwilliams Christopher Williams
              Reporter:
              cwilliams Christopher Williams
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code