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
The error appeared in the new version, perhaps there is a keyword for it, but I did not find it in the documentation.
No error:
global record R end global function f(value: any) local r: R = {} f(r)
Error by tl check: argument 1: R is not a MyAny.
global type MyAny = any global record R end global function f(value: MyAny) local r: R = {} f(r)
The text was updated successfully, but these errors were encountered:
This behavior is intentional. The type system now handles nominal types based on primitives as new distinct type declarations. See #708.
Sorry, something went wrong.
No branches or pull requests
The error appeared in the new version, perhaps there is a keyword for it, but I did not find it in the documentation.
No error:
Error by tl check: argument 1: R is not a MyAny.
The text was updated successfully, but these errors were encountered: