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

Deprecate Uint, Uint32 etc? #11964

Closed
dpsanders opened this issue Jun 30, 2015 · 4 comments
Closed

Deprecate Uint, Uint32 etc? #11964

dpsanders opened this issue Jun 30, 2015 · 4 comments

Comments

@dpsanders
Copy link
Contributor

I thought that with #8905 and #8907 the names Uint, Uint32 etc. would be deprecated, but that is not the case on latest master:

julia> Uint
UInt64

julia> Uint32
UInt32

julia> versioninfo()
Julia Version 0.4.0-dev+5710
Commit af6f214* (2015-06-30 17:38 UTC)
  System: Darwin (x86_64-apple-darwin14.3.0)
@yuyichao
Copy link
Contributor

The issue is that we do not currently have a way to deprecate types

@dpsanders
Copy link
Contributor Author

Ah yes, thanks. But can we at least deprecate the constructor-type calls, Uint(3) etc.?

@JeffBezanson
Copy link
Member

dup of #11200
Uint has to be an alias for UInt, so we can't separately deprecate the constructor.

@StefanKarpinski
Copy link
Member

What we really need is a mechanism for deprecated exports – i.e. exports that continue to be available, but when someone uses such a binding, a warning is emitted.

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

No branches or pull requests

4 participants