Bug 444916 - [xtend] Type parameters are not supported for constructors
Summary: [xtend] Type parameters are not supported for constructors
Status: NEW
Alias: None
Product: Xtend
Classification: Tools
Component: Backlog (show other bugs)
Version: 2.8.0   Edit
Hardware: PC Mac OS X
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-24 04:13 EDT by Dennis Huebner CLA
Modified: 2015-09-28 04:19 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Huebner CLA 2014-09-24 04:13:04 EDT
We should support:

class ConstructorTypeParameter {
	new<T>(T value) {
	}
}

See also #413824
Comment 1 Sebastian Zarnekow CLA 2015-09-24 08:58:46 EDT
Could you please give us an exemplary use case that needs type parameters on constructors?
Comment 2 Norbert Sándor CLA 2015-09-27 02:37:45 EDT
I thought that because Xtend is a "dialect of Java", the goal is to support as many Java features as possible...
Comment 3 Sebastian Zarnekow CLA 2015-09-28 04:19:19 EDT
That's true, but there may be other more important things to work on before we introduce type params for constructors. A nice usecase may help to move this feature request forward.