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

dynamic values and generic invocations #215

Open
gavinking opened this issue Jul 11, 2013 · 1 comment
Open

dynamic values and generic invocations #215

gavinking opened this issue Jul 11, 2013 · 1 comment
Assignees
Milestone

Comments

@gavinking
Copy link
Member

The discussion in ceylon/ceylon-spec#604 raises the issue of the semantics of a generic invocation with an untyped argument.

We need to validate that the js compiler does the right thing here. Not 100% certain what the "right thing" is, but I think:

  • the typechecker should reject code where the inferred type args involve an unknown type, and
  • the backend must validate args against the inferred type args.

Whatever, we need to make sure we have proper tests.

@ghost ghost assigned chochos Jul 11, 2013
@chochos
Copy link
Member

chochos commented Jul 12, 2013

it's hard to write proper tests for something we don't even know how it's supposed to work...

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

3 participants