Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

dynamic values and generic invocations #2646

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

dynamic values and generic invocations #2646

CeylonMigrationBot opened this issue Jul 11, 2013 · 1 comment

Comments

@CeylonMigrationBot
Copy link

[@gavinking] The discussion in #3710 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.

[Migrated from ceylon/ceylon-js#215]

@CeylonMigrationBot
Copy link
Author

[@chochos] 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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants