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

The result of an integer division operation should be treated as integer type #127

Closed
dibyendumajumdar opened this issue Jun 22, 2017 · 1 comment
Labels

Comments

@dibyendumajumdar
Copy link
Owner

Following should work but fails:

function test(y: integer)
	local era: integer
	era = y // 400
end
dibyendumajumdar pushed a commit that referenced this issue Jun 30, 2017
dibyendumajumdar pushed a commit that referenced this issue Jun 30, 2017
@dibyendumajumdar
Copy link
Owner Author

Resolved in 0.20

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

No branches or pull requests

1 participant