Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synthesized, value carrying, nominal types #19

Open
GoogleCodeExporter opened this issue Jul 3, 2015 · 0 comments
Open

Synthesized, value carrying, nominal types #19

GoogleCodeExporter opened this issue Jul 3, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Create synthetic classes (in the top-level package) for provisional types:

- give those classes a varargs constructor

- if an instance of such a class is "assigned" to a variable with a
concrete type that shares its same name (e.g. Date -> java.util.Date),
construct an instance of the target type using the arguments provided when
constructing the provisional instance

Original issue reported on code.google.com by [email protected] on 3 May 2010 at 2:56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant