-
Notifications
You must be signed in to change notification settings - Fork 42
Implement type annotation pass #1323
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
Conversation
|
Add p0_build_ast Move collect_types to after flatten_contracts
Implementation is incomplete, plenty of todo!() yet to resolve. But at this point, the more pressing issues that should be tackled semi-independently are: - built-ins have no corresponding CST/AST so they cannot be typed easily - function overloads cannot be resolved, and there's no way to express the ambiguity yet
…ages We should use this in `slang_solidity` to register built-ins in the binding graph linking them to some type of definition we can later use in the backend.
Closing as this will be done in the new binder implementation |
WIP, incomplete
Apply on top of #1301
This PR aims to implement the type annotation pass of the backend. In order to do that, there are some other required changes: