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

Dict and Array constructor inconsistencies #3213

Closed
ingmarschuster opened this issue May 27, 2013 · 1 comment
Closed

Dict and Array constructor inconsistencies #3213

ingmarschuster opened this issue May 27, 2013 · 1 comment

Comments

@ingmarschuster
Copy link

Both Dict and Array are parametric types. Constructing a Dict and an Array of variable size differs markedly, though:
* Dict{TypeA,TypeB}()
* Array(Type) [while Array{Type}() doesnt work]
This creates some confusion for people new to the language - also I think its inconsitent design.

@pao
Copy link
Member

pao commented May 27, 2013

Double posted; see #3214.

@pao pao closed this as completed May 27, 2013
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

2 participants