Skip to content

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

Description

@samuelgoto

(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?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions