Project: aptanastudio
Issue APSTUD-7442: JS Functions on overloaded variable names produce broken type strings
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", because a returnType may also have a function with return types, making it impossible to reliably unwrap (i.e. "Function,Number,Object:Function,Array:Boolean").
Story points: 13