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 250491 - [jade] Wrong warning for attribute with new line
Summary: [jade] Wrong warning for attribute with new line
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Jade (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-18 13:16 UTC by Vladimir Riha
Modified: 2015-03-06 08:32 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 Vladimir Riha 2015-02-18 13:16:39 UTC
Please try following in Jade:


input(type="text",
name="login")


=> the 2nd line with name attr has yellow warning icon with message "Expected semicolon ; after )"


Thank you



Product Version: NetBeans IDE Dev (Build web-main-1954-on-20150218)
Java: 1.8.0_25; Java HotSpot(TM) Client VM 25.25-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b17
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2015-02-18 13:21:02 UTC
Similar problem is with

element(xmlns:foo="bar")
Comment 2 Vladimir Riha 2015-02-18 13:24:49 UTC
And also (both lines)

- var foo = "bar"
p= foo
Comment 3 Petr Pisl 2015-03-05 10:07:18 UTC
Fixed in web-main by this change: http://hg.netbeans.org/web-main/rev/cd8d5a7997b2
Comment 4 Vladimir Riha 2015-03-06 08:31:47 UTC
Verified, thank you


Product Version: NetBeans IDE Dev (Build 201503060001)
Java: 1.8.0_40; Java HotSpot(TM) Client VM 25.40-b25
Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 5 Vladimir Riha 2015-03-06 08:32:44 UTC
Case from comment #2 is still reproducible, will file it separately.