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

JS Functions on overloaded variable names produce broken type strings

    Details

    • Story Points:
      13

      Description

      We're getting som cases where a variable is re-used many times in javascript resulting in multiple types being assigned, including Function. The way we write Function signatures is not able to be wrapped/unwrapped recursively, so we're getting some broken type strings once there's an overloaded variable that has a Function type with return types.

      We may need to change from "Function,Type,Type:ReturnType,ReturnType" to "Type,Type,Type,Function<ReturnType,ReturnType>", because a returnType may also have a function with return types, making it impossible to reliably unwrap (i.e. "Function,Number,Object:Function,Array<String>:Boolean").

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Integration