I was just wandering in code, when I noticed that on trackTypeInfoUnchecked(CallInfo&) we assume getInlineReturnTypeSet will be none-null. That is not globally true, though ?maybe? in this case it could be true. However the check is quite easy and removes any doubt...
Created attachment 8755729 [details] [diff] [review] Patch
Assignee: nobody → hv1989
When does it return nullptr? It seems to call bytecodeTypes -> TypeScript::BytecodeTypes.
Definitely if script->types() is nullptr. Stopped looking further after that. But yeah that shouldn't happen.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INVALID
Comment on attachment 8755729 [details] [diff] [review] Patch Cancelling since bug was marked invalid.
You need to log in before you can comment on or make changes to this bug.