Skip to content

Remove Int as a builtin type#4

Merged
EdBarrancos merged 2 commits intomasterfrom
2-erase-warning
Oct 30, 2024
Merged

Remove Int as a builtin type#4
EdBarrancos merged 2 commits intomasterfrom
2-erase-warning

Conversation

@EdBarrancos
Copy link
Copy Markdown
Owner

The Int type in Julia is a aliases to either Int64 or Int32 depending on computer architecture. And thus, when trying to define the class_of which receives Int we are actually either defining for Int64 or Int32 and thus redefining it, giving out an warning during precompilation

The Int type in Julia is a aliases to either Int64 or Int32 depending on computer architecture. And thus, when trying to define the class_of which receives Int we are actually either defining for Int64 or Int32 and thus redefining it, giving out an warning during precompilation
@EdBarrancos EdBarrancos linked an issue Oct 29, 2024 that may be closed by this pull request
…y inherit from _Int | Update builtin tests

Readded the _Int class so that methods which take an int as an argument can be created and int64 and int32 inherit from it so that when those methods which take _Int arguments are called we can pass either int64 or int32 s.
@EdBarrancos EdBarrancos self-assigned this Oct 30, 2024
@EdBarrancos EdBarrancos merged commit 7c758cc into master Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Erase Warning

1 participant