RESOLVED FIXED 146882
Web Inspector: Type profiler shows 'Undefined' annotation for functions with no return statements
https://bugs.webkit.org/show_bug.cgi?id=146882
Summary Web Inspector: Type profiler shows 'Undefined' annotation for functions with ...
Saam Barati
Reported 2015-07-11 14:50:05 PDT
Even though JS implicitly returns undefined, we decided not to show return types unless there is an explicit 'return <expr>' in the function. I'm not sure how this got reverted but I will fix it.
Attachments
patch (3.34 KB, patch)
2015-08-21 17:36 PDT, Saam Barati
no flags
Radar WebKit Bug Importer
Comment 1 2015-07-11 14:50:18 PDT
Saam Barati
Comment 2 2015-08-21 17:36:58 PDT
Joseph Pecoraro
Comment 3 2015-08-21 19:40:33 PDT
Comment on attachment 259688 [details] patch r=me, Though I wonder if we could write a test for this.
WebKit Commit Bot
Comment 4 2015-08-21 20:27:34 PDT
Comment on attachment 259688 [details] patch Clearing flags on attachment: 259688 Committed r188818: <http://trac.webkit.org/changeset/188818>
WebKit Commit Bot
Comment 5 2015-08-21 20:27:38 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.