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

vcat(Int, [Vector{Int}]) errors #27326

Closed
tkoolen opened this issue May 30, 2018 · 4 comments
Closed

vcat(Int, [Vector{Int}]) errors #27326

tkoolen opened this issue May 30, 2018 · 4 comments
Assignees

Comments

@tkoolen
Copy link
Contributor

tkoolen commented May 30, 2018

julia> vcat(Int, [Vector{Int}])
ERROR: function _cat_t does not accept keyword arguments
Stacktrace:
 [1] kwfunc(::Any) at ./boot.jl:318
 [2] #cat_t#771 at ./deprecated.jl:330 [inlined]
 [3] (::getfield(Base, Symbol("#kw##cat_t")))(::NamedTuple{(:dims,),Tuple{Val{1}}}, ::typeof(Base.cat_t), ::Type{DataType}, ::Type{Int64}, ::Array{DataType,1}) at ./<missing>:0
 [4] _cat(::Val{1}, ::Type, ::Vararg{Any,N} where N) at ./abstractarray.jl:1319
 [5] #cat#108(::Val{1}, ::Function, ::Type, ::Vararg{Any,N} where N) at ./abstractarray.jl:1448
 [6] (::getfield(Base, Symbol("#kw##cat")))(::NamedTuple{(:dims,),Tuple{Val{1}}}, ::typeof(cat), ::Type, ::Vararg{Any,N} where N) at ./<missing>:0
 [7] vcat(::Type, ::Array{DataType,1}) at ./abstractarray.jl:1386
 [8] top-level scope
julia> versioninfo()
Julia Version 0.7.0-DEV.5246
Commit d748060* (2018-05-29 21:08 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: Intel(R) Core(TM) i7-6950X CPU @ 3.00GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.0 (ORCJIT, broadwell)
@mbauman
Copy link
Sponsor Member

mbauman commented May 30, 2018

Ah, shoot. Yup. More simply: [Int; 1].

@KristofferC
Copy link
Sponsor Member

KristofferC commented May 30, 2018

Ref https://build.julialang.org/#/builders/87/builds/266, not sure if related though.

@mbauman mbauman self-assigned this May 30, 2018
@mbauman
Copy link
Sponsor Member

mbauman commented May 30, 2018

Based on that log alone, I don't think that's related, @KristofferC. Do you have more evidence that it's related?

@KristofferC
Copy link
Sponsor Member

Nope.

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

3 participants