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 271947 - Javascript function with preset value params is marked as error
Summary: Javascript function with preset value params is marked as error
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-24 19:17 UTC by paulszudzik
Modified: 2017-12-24 19:17 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 paulszudzik 2017-12-24 19:17:48 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Windows 8 version 6.2 running on amd64
Java; VM; Vendor = 1.8.0_51
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.51-b03

Reproducibility: Happens every time

STEPS:
 create a javascrript or html file and enter something

	function genericAjax(cmdCode, key, target,lurl = "http://throwsomebull.com/SomethingRed/genericAjax.php"){
	}

ACTUAL:
Error red flag hint pops up on left margin... with error pointed to '=' sign

EXPECTED:
  Should not be flagged as error, valid syntax