Bug 418784 - [xbase][validation] Improve validation message for syntax / linking errors wrt line breaks
Summary: [xbase][validation] Improve validation message for syntax / linking errors wr...
Status: NEW
Alias: None
Product: Xtend
Classification: Tools
Component: Core (show other bugs)
Version: 2.5.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-07 03:16 EDT by Sebastian Zarnekow CLA
Modified: 2013-10-07 04:49 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Zarnekow CLA 2013-10-07 03:16:12 EDT
Taken from https://bugs.eclipse.org/bugs/show_bug.cgi?id=413138#c2

If you invoke a generic method inside a "With" there is also an invalid error marker if you do not set a semi-colon ";" before :

ie : for an xtend builder :

_TitledPane [ text = "Tree<String>";
   <String>_TreeView[ 
	<String>_TreeItem [value = "menu";
	<String>_TreeItem [value = "Entry"];
	<String>_TreeItem [value = "Main course"];
  ]
]



If we delete the first "; " The marker on "_TreeView" is : 

Type mismatch: cannot convert from TreeView<String> to boolean