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

Compiler: use return type of method with Primitive if available #5025

Merged
merged 1 commit into from Sep 24, 2017
Merged

Compiler: use return type of method with Primitive if available #5025

merged 1 commit into from Sep 24, 2017

Conversation

asterite
Copy link
Member

Some time ago primitives were totally hardcoded in the compiler. After we introduced the @[Primitive] attribute some of the hardcoded logic can be removed, for example computing their return type. This isn't possible in all cases because some primitive need additional logic, or their type is impossible to express.

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

Successfully merging this pull request may close these issues.

None yet

2 participants