We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It seems that Reticulated skips the init function argument checks in the function body. In the following class definition:
@fields({'my_dict': Dict(Int, Tuple(Int, Int))}) class UnionFind: def __init__(self:UnionFind, my_dict:Dict(Int, Tuple(Int, Int)))->Void: self.my_dict = my_dict
There are no checks to verify that my_dict has the correct type. This is the resulting code from retic -p:
class UnionFind: def __init__(self, my_dict): self.my_dict = my_dict __init__ = check_type_function(__init__)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It seems that Reticulated skips the init function argument checks in the function body.
In the following class definition:
There are no checks to verify that my_dict has the correct type.
This is the resulting code from retic -p:
The text was updated successfully, but these errors were encountered: