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

Checker does not check that all parent variables are assigned to #304

Open
JSAbrahams opened this issue May 24, 2022 · 0 comments
Open

Checker does not check that all parent variables are assigned to #304

JSAbrahams opened this issue May 24, 2022 · 0 comments
Labels
bug: check Something in the type check module isn't working (as intended)

Comments

@JSAbrahams
Copy link
Owner

Description of Bug

Actually, this is slightly more complicated.
To implement this fully we will need to specify in the context that a variable is not assigned to in a class.
Said class is then implicitly an abstract class.
Then, it falls to any concrete implementations of the class to assign to variable.
Non-trivial since we have no abstract keyword for classes of course, so we would have to check this during each use whether the constructor assigns to all variables or not.

Expected behavior

Additional context

@JSAbrahams JSAbrahams added the bug: check Something in the type check module isn't working (as intended) label May 24, 2022
@JSAbrahams JSAbrahams added this to the v0.3.7 | Type alias milestone Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: check Something in the type check module isn't working (as intended)
Projects
None yet
Development

No branches or pull requests

1 participant