This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 245916 - The return type is not resolved in correct way
Summary: The return type is not resolved in correct way
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-23 13:00 UTC by Petr Pisl
Modified: 2015-06-20 07:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2014-07-23 13:00:13 UTC
Have a code:
/**
 * Expected: String
 * Actual: String|window.print.value
 * @param {string} value
  */
function print(value) {
        return value;
}

the return type contains window.print.value, which should not.
Comment 1 Petr Pisl 2015-06-19 14:28:04 UTC
Fixed in web-main.
Comment 2 Quality Engineering 2015-06-20 07:28:02 UTC
Integrated into 'main-silver', will be available in build *201506200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f71ac41fb65a
User: Petr Pisl <ppisl@netbeans.org>
Log: #245916 - The return type is not resolved in correct way