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

Cannot construct JS primitive via their constructor

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Aptana Studio 3.0.7
    • Fix Version/s: None
    • Component/s: JS
    • Labels:

      Description

      Users should be able to construct primitive types with statements like "var string = new String()"; however, we end up inferring the type as "Object". Most likely this is a metadata issue, but it may relate to how we handle creation of constructor functions when processing sdocml files.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pinnamuri Praveen Innamuri (Inactive)
                Reporter:
                klindsey Kevin Lindsey
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Git Source Code