Bug 84362 - Web Inspector: replace @type annotation with @return annotation for getters
Summary: Web Inspector: replace @type annotation with @return annotation for getters
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Pavel Feldman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-19 11:14 PDT by Pavel Feldman
Modified: 2012-04-20 02:15 PDT (History)
10 users (show)

See Also:


Attachments
Patch (45.57 KB, patch)
2012-04-19 11:18 PDT, Pavel Feldman
no flags Details | Formatted Diff | Diff
Patch (23.09 KB, patch)
2012-04-19 11:19 PDT, Pavel Feldman
yurys: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Feldman 2012-04-19 11:14:27 PDT
Otherwise, compiler does not check for errors.
Comment 1 Pavel Feldman 2012-04-19 11:18:56 PDT
Created attachment 137930 [details]
Patch
Comment 2 Pavel Feldman 2012-04-19 11:19:53 PDT
Created attachment 137931 [details]
Patch
Comment 3 Yury Semikhatsky 2012-04-19 11:23:25 PDT
Comment on attachment 137931 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=137931&action=review

> Source/WebCore/inspector/front-end/TabbedPane.js:497
> +    /** @type {number} */ this._measuredWidth;

Can you initialize the fields with appropriate values?
Comment 4 Pavel Feldman 2012-04-20 02:15:30 PDT
Committed r114729: <http://trac.webkit.org/changeset/114729>