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 184262 - Value of the overridden attribute is not formatted
Summary: Value of the overridden attribute is not formatted
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Anton Chechel
URL:
Keywords:
: 186457 (view as bug list)
Depends on:
Blocks: 173487
  Show dependency tree
 
Reported: 2010-04-15 11:22 UTC by Alexandr Scherbatiy
Modified: 2010-05-31 13:24 UTC (History)
1 user (show)

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 Alexandr Scherbatiy 2010-04-15 11:22:08 UTC
NetBeans IDE 6.9 Beta 

  Product Version         = NetBeans IDE 6.9 Beta (Build 201004142028)
(#b0fcf3f1c0b5)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02; Sun
Microsystems Inc.


Steps to reproduce:

- Copy the code to the editor:
-------------------------------------------------
import javafx.scene.Node;
import javafx.scene.shape.Circle;
import javafx.scene.paint.Color;

class A {

    public var shape: Node[] = [
Circle {
centerX: 100, centerY: 100
radius: 40
fill: Color.BLACK
}
            ];
}

class B extends A {

    override var shape = [
        
Circle {
centerX: 100, centerY: 100
radius: 40
fill: Color.BLACK

}       
        ];
}
-------------------------------------------------
- Format the code

The result is:
-------------------------------------------------
class B extends A {

    override var shape = [
        
Circle {
centerX: 100, centerY: 100
radius: 40
fill: Color.BLACK

}       
        ];
}
-------------------------------------------------
Comment 1 Anton Chechel 2010-04-19 12:57:58 UTC
Compiler issue: http://javafx-jira.kenai.com/browse/JFXC-4294
Comment 2 Anton Chechel 2010-05-25 09:52:34 UTC
fixed
http://hg.netbeans.org/javafx/rev/9849f57777e4
Comment 3 Alexandr Scherbatiy 2010-05-26 12:23:51 UTC
verified in netbeans-trunk-nightly-201005260001-javafx-windows.exe
Comment 4 Anton Chechel 2010-05-31 13:24:07 UTC
*** Bug 186457 has been marked as a duplicate of this bug. ***