-
Notifications
You must be signed in to change notification settings - Fork 74
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
update deprecated Array constructor #260
Conversation
master failures might be related to JuliaLang/julia#20084 altough I have not actively looked into this |
@@ -194,7 +194,7 @@ end | |||
|
|||
type Choices <: BuildStep | |||
choices::Vector{Choice} | |||
Choices() = new(Array(Choice,0)) | |||
Choices() = new(Vector{Choice}()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Choice[]
is also possible here and below, not sure which you prefer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's some discussion that Vector{T}()
might get deprecated - hasn't happened yet, but evidently the zero arg form isn't loved by all
I feel like a lot of the inner constructors here are unnecessary |
@@ -239,7 +239,7 @@ immutable SystemPaths <: DependencyProvider; end | |||
|
|||
show(io::IO, ::SystemPaths) = print(io,"System Paths") | |||
|
|||
using URIParser, Compat |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
module already has a using Compat
so it is not needed to repeat it.
Thanks |
No description provided.