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

To what extent do typecheckers look into dynamically generated types/classes? #7

Open
samuelgoto opened this issue Jul 11, 2017 · 0 comments

Comments

@samuelgoto
Copy link
Owner

(porting @Waldemar's comments into github issues)

@Waldemar: What about dynamically generated types?

@Waldemar: to what extent do typecheckers look into dynamically generated types/classes? For example:

class B {};
// TODO(goto): this actually doesn't work, come up with a better example.
eval("class A extends B {}");
var b: B = new A();
// Does this generate a type error in the typechecker?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant